@Module public class StatefulContext<X,T> extends AbstractSessionContext<X,T>
Constructor and Description |
---|
StatefulContext(StatefulManager<X> manager,
java.lang.Class<T> api) |
Modifier and Type | Method and Description |
---|---|
T |
createProxy(CreationalContextImpl<T> env) |
void |
endLocal(T oldLocal) |
protected T |
getLocal() |
StatefulManager<X> |
getServer()
Returns the server which owns this bean.
|
TimerService |
getTimerService()
Returns the timer service.
|
T |
startLocal(T local) |
destroy, destroyProxy, getApi, getBusinessObject, getEJBHome, getEJBLocalHome, getEJBLocalObject, getEJBObject, getInjectManager, getInvokedBusinessInterface, getMessageContext, getModuleInjectManager, getProxyFactory, newInstance, toString, wasCancelCalled
__caucho_setInvokedBusinessInterface, __caucho_timeout_callback, __caucho_timeout_callback, __caucho_timeout_callback, getCallerIdentity, getCallerPrincipal, getContextData, getEJBMetaData, getEnvironment, getRollbackOnly, getUserTransaction, isCallerInRole, isCallerInRole, isDead, lookup, setDeclaredRoles, setRollbackOnly
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCallerIdentity, getCallerPrincipal, getContextData, getEnvironment, getRollbackOnly, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
public StatefulContext(StatefulManager<X> manager, java.lang.Class<T> api)
public StatefulManager<X> getServer()
getServer
in class AbstractSessionContext<X,T>
public T createProxy(CreationalContextImpl<T> env)
createProxy
in class AbstractSessionContext<X,T>
public TimerService getTimerService() throws java.lang.IllegalStateException
getTimerService
in interface EJBContext
getTimerService
in class AbstractContext<X>
java.lang.IllegalStateException
public void endLocal(T oldLocal)
protected T getLocal()
getLocal
in class AbstractSessionContext<X,T>