org.apache.geronimo.openejb
Class EjbDeployment

java.lang.Object
  extended by org.apache.geronimo.openejb.EjbDeployment
All Implemented Interfaces:
EJB, J2EEManagedObject
Direct Known Subclasses:
EjbDeploymentGBean

public class EjbDeployment
extends Object
implements EJB


Constructor Summary
EjbDeployment()
           
EjbDeployment(String objectName, String deploymentId, String ejbName, String homeInterfaceName, String remoteInterfaceName, String localHomeInterfaceName, String localInterfaceName, String serviceEndpointInterfaceName, String beanClassName, ClassLoader classLoader, boolean securityEnabled, String defaultRole, String runAsRole, RunAsSource runAsSource, Context componentContext, Set unshareableResources, Set applicationManagedSecurityResources, org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator trackedConnectionAssociator, OpenEjbSystem openEjbSystem)
           
 
Method Summary
 Set getApplicationManagedSecurityResources()
           
 Class getBeanClass()
           
 String getBeanClassName()
           
 Object getBusinessLocalHome()
           
 Class getBusinessLocalInterface()
           
 Object getBusinessRemoteHome()
           
 Class getBusinessRemoteInterface()
           
 ClassLoader getClassLoader()
           
 Context getComponentContext()
           
 org.apache.openejb.BeanType getComponentType()
           
 org.apache.openejb.Container getContainer()
           
 Subject getDefaultSubject()
           
 String getDeploymentId()
           
 org.apache.openejb.core.CoreDeploymentInfo getDeploymentInfo()
           
 EJBHome getEJBHome()
           
 EJBLocalHome getEJBLocalHome()
           
 String getEjbName()
           
 EJBObject getEjbObject(Object primaryKey)
           
 Class getHomeInterface()
           
 String getHomeInterfaceName()
           
 Class getLocalHomeInterface()
           
 String getLocalHomeInterfaceName()
           
 Class getLocalInterface()
           
 String getLocalInterfaceName()
           
 Class getMdbInterface()
           
 String getObjectName()
          Gets the unique name of this object.
 Class getRemoteInterface()
           
 String getRemoteInterfaceName()
           
 Subject getRunAs()
           
 Class getServiceEndpointInterface()
           
 String getServiceEndpointInterfaceName()
           
 org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator getTrackedConnectionAssociator()
           
 byte getTransactionAttribute(Method method)
           
 Set getUnshareableResources()
           
 boolean isBeanManagedTransaction()
           
 boolean isEventProvider()
          Determines if this object implemnts the event provider type defined in the J2EE Management specification.
 boolean isSecurityEnabled()
           
 boolean isStateManageable()
          Determines if this object implements the state manageable type defined in the J2EE Management specification.
 boolean isStatisticsProvider()
          Determines if this object implemnts the statistics provider type defined in the J2EE Management specification.
protected  void start()
           
protected  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbDeployment

public EjbDeployment()
              throws LoginException
Throws:
LoginException

EjbDeployment

public EjbDeployment(String objectName,
                     String deploymentId,
                     String ejbName,
                     String homeInterfaceName,
                     String remoteInterfaceName,
                     String localHomeInterfaceName,
                     String localInterfaceName,
                     String serviceEndpointInterfaceName,
                     String beanClassName,
                     ClassLoader classLoader,
                     boolean securityEnabled,
                     String defaultRole,
                     String runAsRole,
                     RunAsSource runAsSource,
                     Context componentContext,
                     Set unshareableResources,
                     Set applicationManagedSecurityResources,
                     org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator trackedConnectionAssociator,
                     OpenEjbSystem openEjbSystem)
              throws LoginException
Throws:
LoginException
Method Detail

getDeploymentInfo

public org.apache.openejb.core.CoreDeploymentInfo getDeploymentInfo()

getDeploymentId

public String getDeploymentId()

getEjbName

public String getEjbName()

getHomeInterfaceName

public String getHomeInterfaceName()

getRemoteInterfaceName

public String getRemoteInterfaceName()

getLocalHomeInterfaceName

public String getLocalHomeInterfaceName()

getLocalInterfaceName

public String getLocalInterfaceName()

getServiceEndpointInterfaceName

public String getServiceEndpointInterfaceName()

getBeanClassName

public String getBeanClassName()

getClassLoader

public ClassLoader getClassLoader()

isSecurityEnabled

public boolean isSecurityEnabled()

getDefaultSubject

public Subject getDefaultSubject()

getRunAs

public Subject getRunAs()

getComponentContext

public Context getComponentContext()

getUnshareableResources

public Set getUnshareableResources()

getApplicationManagedSecurityResources

public Set getApplicationManagedSecurityResources()

getTrackedConnectionAssociator

public org.apache.geronimo.connector.outbound.connectiontracking.TrackedConnectionAssociator getTrackedConnectionAssociator()

getEJBHome

public EJBHome getEJBHome()

getEJBLocalHome

public EJBLocalHome getEJBLocalHome()

getBusinessLocalHome

public Object getBusinessLocalHome()

getBusinessRemoteHome

public Object getBusinessRemoteHome()

getEjbObject

public EJBObject getEjbObject(Object primaryKey)

getHomeInterface

public Class getHomeInterface()

getRemoteInterface

public Class getRemoteInterface()

getLocalHomeInterface

public Class getLocalHomeInterface()

getLocalInterface

public Class getLocalInterface()

getBeanClass

public Class getBeanClass()

getBusinessLocalInterface

public Class getBusinessLocalInterface()

getBusinessRemoteInterface

public Class getBusinessRemoteInterface()

getMdbInterface

public Class getMdbInterface()

getServiceEndpointInterface

public Class getServiceEndpointInterface()

getComponentType

public org.apache.openejb.BeanType getComponentType()

getContainer

public org.apache.openejb.Container getContainer()

isBeanManagedTransaction

public boolean isBeanManagedTransaction()

getTransactionAttribute

public byte getTransactionAttribute(Method method)

getObjectName

public String getObjectName()
Description copied from interface: J2EEManagedObject
Gets the unique name of this object. The object name must comply with the ObjectName specification in the JMX specification and the restrictions in the J2EEManagementInterface.

Specified by:
getObjectName in interface J2EEManagedObject
Returns:
the unique name of this object within the server

isStateManageable

public boolean isStateManageable()
Description copied from interface: J2EEManagedObject
Determines if this object implements the state manageable type defined in the J2EE Management specification.

Specified by:
isStateManageable in interface J2EEManagedObject
Returns:
true if this class also implements the state manageable type; false otherwise

isStatisticsProvider

public boolean isStatisticsProvider()
Description copied from interface: J2EEManagedObject
Determines if this object implemnts the statistics provider type defined in the J2EE Management specification.

Specified by:
isStatisticsProvider in interface J2EEManagedObject
Returns:
true if this class also implements the statistics provider type; false otherwise

isEventProvider

public boolean isEventProvider()
Description copied from interface: J2EEManagedObject
Determines if this object implemnts the event provider type defined in the J2EE Management specification.

Specified by:
isEventProvider in interface J2EEManagedObject
Returns:
true if this class also implements the event manageable type; false otherwise

start

protected void start()
              throws Exception
Throws:
Exception

stop

protected void stop()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.