|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.ejb.server.AbstractContext<X>
com.caucho.ejb.session.AbstractSessionContext<X,T>
com.caucho.ejb.session.SingletonContext<X,T>
public class SingletonContext<X,T>
Abstract base class for an session context
Constructor Summary | |
---|---|
SingletonContext(SingletonManager<X> manager,
java.lang.Class<T> api)
|
Method Summary | |
---|---|
T |
createProxy(CreationalContextImpl<T> env)
|
void |
destroy()
Destroy the context. |
SingletonManager<X> |
getServer()
Returns the server which owns this bean. |
TimerService |
getTimerService()
Returns the timer service. |
Methods inherited from class com.caucho.ejb.session.AbstractSessionContext |
---|
destroyProxy, getApi, getBusinessObject, getEJBHome, getEJBLocalHome, getEJBLocalObject, getEJBObject, getInjectManager, getInvokedBusinessInterface, getLocal, getMessageContext, getModuleInjectManager, getProxyFactory, newInstance, toString, wasCancelCalled |
Methods inherited from class com.caucho.ejb.server.AbstractContext |
---|
__caucho_setInvokedBusinessInterface, __caucho_timeout_callback, __caucho_timeout_callback, __caucho_timeout_callback, getCallerIdentity, getCallerPrincipal, getContextData, getEJBMetaData, getEnvironment, getRollbackOnly, getUserTransaction, isCallerInRole, isCallerInRole, isDead, lookup, setDeclaredRoles, setRollbackOnly |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.ejb.EJBContext |
---|
getCallerIdentity, getCallerPrincipal, getContextData, getEnvironment, getRollbackOnly, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly |
Constructor Detail |
---|
public SingletonContext(SingletonManager<X> manager, java.lang.Class<T> api)
Method Detail |
---|
public SingletonManager<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 destroy() throws java.lang.Exception
AbstractContext
destroy
in class AbstractSessionContext<X,T>
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |