org.jboss.ejb3
Class EJBContainer

java.lang.Object
  extended by org.jboss.ejb3.EJBContainer
All Implemented Interfaces:
Container, org.jboss.ejb3.interceptors.direct.IndirectContainer<EJBContainer,org.jboss.ejb3.interceptors.direct.DirectContainer<EJBContainer>>, JavaEEComponent, ExtendedInjectionContainer, InjectionContainer
Direct Known Subclasses:
MessagingContainer, SessionContainer

public abstract class EJBContainer
extends Object
implements Container, org.jboss.ejb3.interceptors.direct.IndirectContainer<EJBContainer,org.jboss.ejb3.interceptors.direct.DirectContainer<EJBContainer>>, ExtendedInjectionContainer, JavaEEComponent

Comment

Version:
$Revision: 82818 $
Author:
Bill Burke

Field Summary
protected  org.jboss.metadata.ejb.jboss.JBossAssemblyDescriptorMetaData assembly
           
protected  String beanClassName
           
protected  ClassLoader classloader
           
protected  int defaultConstructorIndex
           
protected  String ejbName
           
protected  Context enc
           
protected  EjbEncFactory encFactory
           
protected  Map<String,Map<AccessibleObject,Injector>> encInjections
           
protected  Map<String,EncInjector> encInjectors
           
static String ENTITY_MANAGER_FACTORY
           
protected  Hashtable initialContextProperties
           
protected  List<Injector> injectors
           
protected  InvocationStatistics invokeStats
           
static String MANAGED_ENTITY_MANAGER_FACTORY
           
protected  ObjectName objectName
           
protected  Pool pool
           
protected  boolean reinitialize
           
protected  org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData xml
           
 
Fields inherited from interface org.jboss.ejb3.Container
ENC_CTX_NAME
 
Constructor Summary
EJBContainer(String name, org.jboss.aop.Domain domain, ClassLoader cl, String beanClassName, String ejbName, Hashtable ctxProperties, Ejb3Deployment deployment, org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData beanMetaData)
           
 
Method Summary
protected  void checkForDuplicateLocalAndRemoteInterfaces()
          Ensures that the bean does not implement any one interface as both @Local and @Remote EJBTHREE-1025
protected  Object construct()
           
 void create()
           
abstract  BeanContext<?> createBeanContext()
          Create a bean context for use in a pool.
 Object createInterceptor(Class<?> interceptorClass)
          Do not call, for BeanContainer.
 String createObjectName(String ejbName)
          Create an object name for the given EJB name in the same JavaEE module.
 String createObjectName(String unitName, String ejbName)
          Create an object name for the given EJB name in another JavaEE module.
 void destroy()
           
 void destroyBeanContext(org.jboss.ejb3.interceptors.container.BeanContext<?> ctx)
          Do nothing.
protected  void findPartitionName()
           
 org.jboss.aop.Advisor getAdvisor()
          Deprecated. 
<T extends Annotation>
T
getAnnotation(Class<T> annotationType)
           
<T extends Annotation>
T
getAnnotation(Class<T> annotationType, Class<?> clazz)
          If class has container overridable annotations, this method will discover those overriden annotations.
<T extends Annotation>
T
getAnnotation(Class<T> annotationType, Class<?> clazz, Field field)
          If class has container overridable annotations, this method will discover those overriden annotations.
<T extends Annotation>
T
getAnnotation(Class<T> annotationType, Class<?> clazz, Method method)
          If class has container overridable annotations, this method will discover those overriden annotations.
<T extends Annotation>
T
getAnnotation(Class<T> annotationType, Field field)
           
<T extends Annotation>
T
getAnnotation(Class<T> annotationType, Method method)
           
 org.jboss.aop.annotation.AnnotationRepository getAnnotations()
          Deprecated. 
 org.jboss.metadata.ejb.jboss.JBossAssemblyDescriptorMetaData getAssemblyDescriptor()
           
 Class<?> getBeanClass()
           
 String getBeanClassName()
           
protected  BeanContainer getBeanContainer()
           
 List<Class<?>> getBusinessInterfaces()
          Return all the business interfaces implemented by this bean.
<T> T
getBusinessObject(BeanContext<?> beanContext, Class<T> businessInterface)
           
 org.jboss.jca.spi.ComponentStack getCachedConnectionManager()
           
 ClassLoader getClassloader()
           
 Class<?> getClazz()
          Deprecated. use getBeanClass
 DependencyPolicy getDependencyPolicy()
           
 Ejb3Deployment getDeployment()
           
 String getDeploymentDescriptorType()
          For error messages
 String getDeploymentPropertyListString()
          Returns a String identifier for this bean that is qualified by the deployment, and hence should be unique across deployments.
 String getDeploymentQualifiedName()
           
 DeploymentUnit getDeploymentUnit()
           
static
<C extends EJBContainer>
C
getEJBContainer(org.jboss.aop.Advisor advisor)
           
 String getEjbJndiName(Class businessInterface)
           
 String getEjbJndiName(String link, Class businessInterface)
           
 String getEjbName()
           
 Context getEnc()
           
 Map<String,Map<AccessibleObject,Injector>> getEncInjections()
           
 Map<String,EncInjector> getEncInjectors()
           
 org.jboss.metadata.javaee.spec.Environment getEnvironmentRefGroup()
           
protected  Class[] getHandledCallbacks()
           
 String getIdentifier()
          Some identifier that can be used in error messages
 InitialContext getInitialContext()
           
 Hashtable getInitialContextProperties()
           
 List<Injector> getInjectors()
           
 InterceptorInfoRepository getInterceptorRepository()
           
 Lock getInvocationLock()
           
 Object getInvokedBusinessInterface(BeanContext beanContext)
           
protected  Object getInvokedInterface(Method method)
           
 InvocationStatistics getInvokeStats()
           
 String getJaccContextId()
           
protected  org.jboss.aop.MethodInfo getMethodInfo(Method method)
          Deprecated. 
 JavaEEModule getModule()
          Returns the module of which this component is a part.
 String getName()
           
protected  Method getNonBridgeMethod(Method bridgeMethod)
           
 ObjectName getObjectName()
           
 String getPartitionName()
          Gets the name of the cluster partition with which this container is associated.
 Pool getPool()
           
 org.jboss.virtual.VirtualFile getRootFile()
           
<T> T
getSecurityManager(Class<T> type)
          Get the security manager associated with a container.
protected  Method getTimeoutCallback(org.jboss.metadata.ejb.spec.NamedMethodMetaData timeoutMethodMetaData, Class<?> beanClass)
           
 List<Method> getVirtualMethods()
          Do not call, used by BeanContainer.
 org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData getXml()
           
abstract  boolean hasJNDIBinding(String jndiName)
           
protected  void initializePool()
           
 void injectBeanContext(BeanContext<?> beanContext)
          Note this method is a WIP.
 void instantiated()
          After XML processing has been done this allows the container to further initialize the meta data.
protected  void invokeCallback(BeanContext<?> beanContext, Class<? extends Annotation> callbackAnnotationClass)
          Note that this method is a WIP.
 void invokeInit(Object bean, Class[] initParameterTypes, Object[] initParameterValues)
           
 void invokePostActivate(BeanContext beanContext)
           
 void invokePostConstruct(BeanContext<?> beanContext)
           
 void invokePostConstruct(BeanContext beanContext, Object[] params)
          Deprecated. 
 void invokePreDestroy(BeanContext beanContext)
           
 void invokePrePassivate(BeanContext beanContext)
           
 boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
           
 boolean isBusinessMethod(Method businessMethod)
          Is the method a business method of this container.
 boolean isClustered()
           
protected  void lockedStart()
           
protected  void lockedStop()
           
 BeanContext<?> peekContext()
           
 BeanContext<?> popContext()
           
protected  void popEnc()
          Pops EJB's ENC from the stack.
 void processMetadata()
          introspects EJB container to find all dependencies and initialize any extra metadata.
 void pushContext(BeanContext<?> beanContext)
           
protected  void pushEnc()
          Makes sure that EJB's ENC is available Delegates to whatever implementation is used to push the ENC of the EJB onto the stack
protected  void reinitialize()
           
 Object resolveAnnotation(Class annotationType)
          Deprecated. use getAnnotation
 Object resolveAnnotation(Field field, Class annotationType)
          Deprecated. use getAnnotation
 Object resolveAnnotation(Method method, Class annotationType)
          Deprecated. use getAnnotation
 Object resolveAnnotation(Method m, Class[] annotationChoices)
          Deprecated. this is going to be gone soon
protected abstract  List<Class<?>> resolveBusinessInterfaces()
           
 Container resolveEjbContainer(Class businessIntf)
           
 Container resolveEjbContainer(String link, Class businessIntf)
           
protected  void resolveInjectors()
           
 String resolveMessageDestination(String link)
          Find a message destination in a deployment.
 String resolvePersistenceUnitSupplier(String unitName)
          Find the MC bean that supplies the specified persistence unit.
 void setAssemblyDescriptor(org.jboss.metadata.ejb.jboss.JBossAssemblyDescriptorMetaData assembly)
          Deprecated. 
 void setCachedConnectionManager(org.jboss.jca.spi.ComponentStack ccm)
           
 void setDirectContainer(org.jboss.ejb3.interceptors.direct.DirectContainer<EJBContainer> container)
           
 void setJaccContextId(String jaccContextId)
           
 void setTransactionManager(TransactionManager tm)
           
 void start()
           
 void stop()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.Container
getMBean, getTimerService, getTimerService
 

Field Detail

encFactory

protected EjbEncFactory encFactory

pool

protected Pool pool

ejbName

protected String ejbName

objectName

protected ObjectName objectName

defaultConstructorIndex

protected int defaultConstructorIndex

beanClassName

protected String beanClassName

classloader

protected ClassLoader classloader

injectors

protected List<Injector> injectors

enc

protected Context enc

initialContextProperties

protected Hashtable initialContextProperties

encInjectors

protected Map<String,EncInjector> encInjectors

xml

protected org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData xml

assembly

protected org.jboss.metadata.ejb.jboss.JBossAssemblyDescriptorMetaData assembly

encInjections

protected Map<String,Map<AccessibleObject,Injector>> encInjections

invokeStats

protected InvocationStatistics invokeStats

reinitialize

protected boolean reinitialize

MANAGED_ENTITY_MANAGER_FACTORY

public static final String MANAGED_ENTITY_MANAGER_FACTORY
See Also:
Constant Field Values

ENTITY_MANAGER_FACTORY

public static final String ENTITY_MANAGER_FACTORY
See Also:
Constant Field Values
Constructor Detail

EJBContainer

public EJBContainer(String name,
                    org.jboss.aop.Domain domain,
                    ClassLoader cl,
                    String beanClassName,
                    String ejbName,
                    Hashtable ctxProperties,
                    Ejb3Deployment deployment,
                    org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData beanMetaData)
             throws ClassNotFoundException
Parameters:
name - Advisor name
manager - Domain to get interceptor bindings from
cl - the EJB's classloader
beanClassName -
ejbName -
ctxProperties -
interceptorRepository -
deployment -
beanMetaData - the meta data for this bean or null
Throws:
ClassNotFoundException
Method Detail

createBeanContext

public abstract BeanContext<?> createBeanContext()
Description copied from interface: Container
Create a bean context for use in a pool.

Specified by:
createBeanContext in interface Container
Returns:
a ready to use bean context

createObjectName

public String createObjectName(String ejbName)
Description copied from interface: JavaEEComponent
Create an object name for the given EJB name in the same JavaEE module.

Specified by:
createObjectName in interface JavaEEComponent
Returns:

createInterceptor

public Object createInterceptor(Class<?> interceptorClass)
                         throws InstantiationException,
                                IllegalAccessException
Do not call, for BeanContainer.

Throws:
IllegalAccessException
InstantiationException

createObjectName

public String createObjectName(String unitName,
                               String ejbName)
Description copied from interface: JavaEEComponent
Create an object name for the given EJB name in another JavaEE module.

Specified by:
createObjectName in interface JavaEEComponent
Returns:

destroyBeanContext

public void destroyBeanContext(org.jboss.ejb3.interceptors.container.BeanContext<?> ctx)
Do nothing.

Parameters:
ctx -

getAdvisor

@Deprecated
public org.jboss.aop.Advisor getAdvisor()
Deprecated. 


getAnnotations

@Deprecated
public org.jboss.aop.annotation.AnnotationRepository getAnnotations()
Deprecated. 


getBeanContainer

protected BeanContainer getBeanContainer()

getClazz

public Class<?> getClazz()
Deprecated. use getBeanClass

Returns:
the bean class of this container

getEJBContainer

public static <C extends EJBContainer> C getEJBContainer(org.jboss.aop.Advisor advisor)

getName

public String getName()
Specified by:
getName in interface Container

pushContext

public void pushContext(BeanContext<?> beanContext)
Specified by:
pushContext in interface Container

pushEnc

protected void pushEnc()
Makes sure that EJB's ENC is available Delegates to whatever implementation is used to push the ENC of the EJB onto the stack


peekContext

public BeanContext<?> peekContext()
Specified by:
peekContext in interface Container

popContext

public BeanContext<?> popContext()
Specified by:
popContext in interface Container

popEnc

protected void popEnc()
Pops EJB's ENC from the stack. Delegates to whatever implementation is used to pop the EJB's ENC from the stock


getEnvironmentRefGroup

public org.jboss.metadata.javaee.spec.Environment getEnvironmentRefGroup()
Specified by:
getEnvironmentRefGroup in interface InjectionContainer

getInjectors

public List<Injector> getInjectors()
Specified by:
getInjectors in interface InjectionContainer

getJaccContextId

public String getJaccContextId()

getVirtualMethods

public List<Method> getVirtualMethods()
Do not call, used by BeanContainer.

Returns:

setJaccContextId

public void setJaccContextId(String jaccContextId)

getRootFile

public org.jboss.virtual.VirtualFile getRootFile()
Specified by:
getRootFile in interface InjectionContainer

getBusinessInterfaces

public List<Class<?>> getBusinessInterfaces()
Return all the business interfaces implemented by this bean. Available after the meta data has been processed.

Returns:
an array of business interfaces or empty if no interface is provided

getDeploymentQualifiedName

public String getDeploymentQualifiedName()

getDeploymentPropertyListString

public String getDeploymentPropertyListString()
Returns a String identifier for this bean that is qualified by the deployment, and hence should be unique across deployments. Name is of the form "ear=foo.ear,jar=foo.jar,name=Bar", where "Bar" is the value returned by getEjbName(). The "ear=foo.ear" portion is ommitted if the bean is not packaged in an ear.


getDeploymentUnit

public DeploymentUnit getDeploymentUnit()

getDeployment

public Ejb3Deployment getDeployment()

getDependencyPolicy

public DependencyPolicy getDependencyPolicy()
Specified by:
getDependencyPolicy in interface Container
Specified by:
getDependencyPolicy in interface InjectionContainer

isAnnotationPresent

public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)

isBusinessMethod

public boolean isBusinessMethod(Method businessMethod)
Is the method a business method of this container.

Parameters:
businessMethod - the method in question
Returns:
true if so, otherwise false

processMetadata

public void processMetadata()
introspects EJB container to find all dependencies and initialize any extra metadata.

This must be called before container is registered with any microcontainer

Specified by:
processMetadata in interface Container
Parameters:
dependencyPolicy -

checkForDuplicateLocalAndRemoteInterfaces

protected void checkForDuplicateLocalAndRemoteInterfaces()
                                                  throws javax.ejb.EJBException
Ensures that the bean does not implement any one interface as both @Local and @Remote EJBTHREE-1025

Throws:
javax.ejb.EJBException - If the bean does implements any one interface as both @Local and @Remote

getXml

public org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData getXml()

getAssemblyDescriptor

public org.jboss.metadata.ejb.jboss.JBossAssemblyDescriptorMetaData getAssemblyDescriptor()

setAssemblyDescriptor

@Deprecated
public void setAssemblyDescriptor(org.jboss.metadata.ejb.jboss.JBossAssemblyDescriptorMetaData assembly)
Deprecated. 


resolveBusinessInterfaces

protected abstract List<Class<?>> resolveBusinessInterfaces()

getInterceptorRepository

public InterceptorInfoRepository getInterceptorRepository()

getEncInjectors

public Map<String,EncInjector> getEncInjectors()
Specified by:
getEncInjectors in interface InjectionContainer

getCachedConnectionManager

public org.jboss.jca.spi.ComponentStack getCachedConnectionManager()

getClassloader

public ClassLoader getClassloader()
Specified by:
getClassloader in interface InjectionContainer

getInitialContext

public InitialContext getInitialContext()
Specified by:
getInitialContext in interface Container

getEncInjections

public Map<String,Map<AccessibleObject,Injector>> getEncInjections()
Specified by:
getEncInjections in interface InjectionContainer

getEnc

public Context getEnc()
Specified by:
getEnc in interface Container
Specified by:
getEnc in interface InjectionContainer

getInitialContextProperties

public Hashtable getInitialContextProperties()
Specified by:
getInitialContextProperties in interface Container

getObjectName

public ObjectName getObjectName()
Specified by:
getObjectName in interface Container

getEjbName

public String getEjbName()
Specified by:
getEjbName in interface Container

getBeanClassName

public String getBeanClassName()

getBeanClass

public Class<?> getBeanClass()
Specified by:
getBeanClass in interface Container

getPool

public Pool getPool()
Specified by:
getPool in interface Container

getPartitionName

public String getPartitionName()
Gets the name of the cluster partition with which this container is associated. Not available until EJBContainer.start() is completed.

Returns:
the name of the cluster partition with which this container is associated, or null if the container is not clustered

construct

protected Object construct()

reinitialize

protected void reinitialize()

create

public void create()
            throws Exception
Specified by:
create in interface Container
Throws:
Exception

start

public final void start()
                 throws Exception
Specified by:
start in interface Container
Throws:
Exception

lockedStart

protected void lockedStart()
                    throws Exception
Throws:
Exception

stop

public final void stop()
                throws Exception
Specified by:
stop in interface Container
Throws:
Exception

lockedStop

protected void lockedStop()
                   throws Exception
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface Container
Throws:
Exception

getSecurityManager

public <T> T getSecurityManager(Class<T> type)
Description copied from interface: Container
Get the security manager associated with a container.

Specified by:
getSecurityManager in interface Container
Parameters:
type - the type to cast to
Returns:
the security manager or null if there is no manager associated

getTimeoutCallback

protected Method getTimeoutCallback(org.jboss.metadata.ejb.spec.NamedMethodMetaData timeoutMethodMetaData,
                                    Class<?> beanClass)

initializePool

protected void initializePool()
                       throws Exception
Throws:
Exception

injectBeanContext

public void injectBeanContext(BeanContext<?> beanContext)
Note this method is a WIP. In actuality ejb3-interceptors should perform the injection itself, but this requires a rewrite of all injectors.

Specified by:
injectBeanContext in interface Container

invokeCallback

protected void invokeCallback(BeanContext<?> beanContext,
                              Class<? extends Annotation> callbackAnnotationClass)
Note that this method is a WIP.

Parameters:
beanContext -
callbackAnnotationClass - on of PostConstruct, PreDestroy, PostActivate or PrePassivate

invokePostConstruct

public void invokePostConstruct(BeanContext<?> beanContext)

invokePostConstruct

@Deprecated
public void invokePostConstruct(BeanContext beanContext,
                                           Object[] params)
Deprecated. 

Specified by:
invokePostConstruct in interface Container

invokePreDestroy

public void invokePreDestroy(BeanContext beanContext)
Specified by:
invokePreDestroy in interface Container

invokePostActivate

public void invokePostActivate(BeanContext beanContext)
Specified by:
invokePostActivate in interface Container

invokePrePassivate

public void invokePrePassivate(BeanContext beanContext)
Specified by:
invokePrePassivate in interface Container

invokeInit

public void invokeInit(Object bean,
                       Class[] initParameterTypes,
                       Object[] initParameterValues)
Specified by:
invokeInit in interface Container

resolveInjectors

protected void resolveInjectors()
                         throws Exception
Throws:
Exception

getHandledCallbacks

protected Class[] getHandledCallbacks()

findPartitionName

protected void findPartitionName()

getBusinessObject

public <T> T getBusinessObject(BeanContext<?> beanContext,
                               Class<T> businessInterface)
                    throws IllegalStateException
Throws:
IllegalStateException

getInvokedBusinessInterface

public Object getInvokedBusinessInterface(BeanContext beanContext)
                                   throws IllegalStateException
Throws:
IllegalStateException

getInvokedInterface

protected Object getInvokedInterface(Method method)

resolveEjbContainer

public Container resolveEjbContainer(String link,
                                     Class businessIntf)
Specified by:
resolveEjbContainer in interface InjectionContainer

resolveEjbContainer

public Container resolveEjbContainer(Class businessIntf)
                              throws NameNotFoundException
Specified by:
resolveEjbContainer in interface InjectionContainer
Throws:
NameNotFoundException

resolveMessageDestination

public String resolveMessageDestination(String link)
Description copied from interface: InjectionContainer
Find a message destination in a deployment.

Specified by:
resolveMessageDestination in interface InjectionContainer
Parameters:
link - the message destination name
Returns:
the jndi name of the message destination

resolvePersistenceUnitSupplier

public String resolvePersistenceUnitSupplier(String unitName)
Description copied from interface: ExtendedInjectionContainer
Find the MC bean that supplies the specified persistence unit.

Specified by:
resolvePersistenceUnitSupplier in interface ExtendedInjectionContainer
Parameters:
unitName - the name of the persistence unit
Returns:
the name of the persistence unit supplier TODO: this method should be on InjectionContainer

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType)

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType,
                                              Class<?> clazz)
Description copied from interface: InjectionContainer
If class has container overridable annotations, this method will discover those overriden annotations.

Specified by:
getAnnotation in interface InjectionContainer

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType,
                                              Class<?> clazz,
                                              Method method)
Description copied from interface: InjectionContainer
If class has container overridable annotations, this method will discover those overriden annotations.

Specified by:
getAnnotation in interface InjectionContainer

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType,
                                              Method method)
Specified by:
getAnnotation in interface InjectionContainer

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType,
                                              Class<?> clazz,
                                              Field field)
Description copied from interface: InjectionContainer
If class has container overridable annotations, this method will discover those overriden annotations.

Specified by:
getAnnotation in interface InjectionContainer

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationType,
                                              Field field)
Specified by:
getAnnotation in interface InjectionContainer

resolveAnnotation

public Object resolveAnnotation(Class annotationType)
Deprecated. use getAnnotation


resolveAnnotation

public Object resolveAnnotation(Field field,
                                Class annotationType)
Deprecated. use getAnnotation


resolveAnnotation

public Object resolveAnnotation(Method method,
                                Class annotationType)
Deprecated. use getAnnotation


resolveAnnotation

public Object resolveAnnotation(Method m,
                                Class[] annotationChoices)
Deprecated. this is going to be gone soon


getIdentifier

public String getIdentifier()
Description copied from interface: InjectionContainer
Some identifier that can be used in error messages

Specified by:
getIdentifier in interface InjectionContainer

getDeploymentDescriptorType

public String getDeploymentDescriptorType()
Description copied from interface: InjectionContainer
For error messages

Specified by:
getDeploymentDescriptorType in interface InjectionContainer
Returns:
ejb-jar.xml, web.xml, etc..

getEjbJndiName

public String getEjbJndiName(Class businessInterface)
                      throws NameNotFoundException
Specified by:
getEjbJndiName in interface InjectionContainer
Throws:
NameNotFoundException

getEjbJndiName

public String getEjbJndiName(String link,
                             Class businessInterface)
Specified by:
getEjbJndiName in interface InjectionContainer

getInvokeStats

public InvocationStatistics getInvokeStats()
Specified by:
getInvokeStats in interface Container

getMethodInfo

@Deprecated
protected org.jboss.aop.MethodInfo getMethodInfo(Method method)
Deprecated. 


isClustered

public boolean isClustered()
Specified by:
isClustered in interface Container

getModule

public JavaEEModule getModule()
Description copied from interface: JavaEEComponent
Returns the module of which this component is a part.

Specified by:
getModule in interface JavaEEComponent

hasJNDIBinding

public abstract boolean hasJNDIBinding(String jndiName)
Specified by:
hasJNDIBinding in interface InjectionContainer

instantiated

public void instantiated()
After XML processing has been done this allows the container to further initialize the meta data.


setCachedConnectionManager

public void setCachedConnectionManager(org.jboss.jca.spi.ComponentStack ccm)

setDirectContainer

public void setDirectContainer(org.jboss.ejb3.interceptors.direct.DirectContainer<EJBContainer> container)
Specified by:
setDirectContainer in interface org.jboss.ejb3.interceptors.direct.IndirectContainer<EJBContainer,org.jboss.ejb3.interceptors.direct.DirectContainer<EJBContainer>>

getNonBridgeMethod

protected Method getNonBridgeMethod(Method bridgeMethod)

getInvocationLock

public Lock getInvocationLock()

setTransactionManager

public void setTransactionManager(TransactionManager tm)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.