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<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.

Version:
$Revision: 73395 $
Author:
Carlo de Wolf

Field Summary
protected  javax.ejb.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, Object bean)
           
 
Method Summary
abstract  javax.ejb.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
remove
 

Field Detail

ejbContext

protected javax.ejb.EJBContext ejbContext
Constructor Detail

SessionBeanContext

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

Parameters:
container -

SessionBeanContext

protected SessionBeanContext(T container,
                             Object bean)

SessionBeanContext

protected SessionBeanContext()
Deprecated. 

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

Method Detail

getEJBContext

public abstract javax.ejb.EJBContext getEJBContext()


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