org.jboss.ejb3.session
Class SessionBeanContext<T extends SessionContainer>

java.lang.Object
  extended by org.jboss.ejb3.BaseContext<T>
      extended by org.jboss.ejb3.session.SessionBeanContext<T>
All Implemented Interfaces:
org.jboss.ejb3.interceptors.container.BeanContext<java.lang.Object>
Direct Known Subclasses:
ServiceBeanContext, SessionSpecBeanContext

public abstract class SessionBeanContext<T extends SessionContainer>
extends BaseContext<T>

An instance of an enterprise bean link to its container.


Field Summary
protected  org.jboss.ejb3.context.spi.EJBContext ejbContext
           
 
Fields inherited from class org.jboss.ejb3.BaseContext
bean, container, interceptorInstances, log, metadata, rm
 
Constructor Summary
protected SessionBeanContext()
          Deprecated.  
protected SessionBeanContext(T container)
          Must not break getInstance post condition!
protected SessionBeanContext(T container, java.lang.Object bean)
           
 
Method Summary
abstract  org.jboss.ejb3.context.spi.EJBContext getEJBContext()
           
 
Methods inherited from class org.jboss.ejb3.BaseContext
getContainer, getId, getInstance, getInterceptor, getInterceptorInstances, getInvokedMethodKey, getMetaData, initialiseInterceptorInstances
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.BeanContext
createInjectionInvocation, createLifecycleInvocation, remove
 

Field Detail

ejbContext

protected org.jboss.ejb3.context.spi.EJBContext ejbContext
Constructor Detail

SessionBeanContext

protected SessionBeanContext(T container)
Must not break getInstance post condition!

Parameters:
container -

SessionBeanContext

protected SessionBeanContext(T container,
                             java.lang.Object bean)

SessionBeanContext

protected SessionBeanContext()
Deprecated. 

Only for externalization use by subclass StatefulBeanContext; do not use elsewhere.

Method Detail

getEJBContext

public abstract org.jboss.ejb3.context.spi.EJBContext getEJBContext()