public class SingletonContext<X,T> extends AbstractSessionContext<X,T>
| Constructor and Description |
|---|
SingletonContext(SingletonManager<X> manager,
java.lang.Class<T> api) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
destroyProxy, getApi, getBusinessObject, getEJBHome, getEJBLocalHome, getEJBLocalObject, getEJBObject, getInjectManager, getInvokedBusinessInterface, getLocal, 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, setRollbackOnlyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCallerIdentity, getCallerPrincipal, getContextData, getEnvironment, getRollbackOnly, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnlypublic SingletonContext(SingletonManager<X> manager, java.lang.Class<T> api)
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 EJBContextgetTimerService in class AbstractContext<X>java.lang.IllegalStateExceptionpublic void destroy()
throws java.lang.Exception
AbstractContextdestroy in class AbstractSessionContext<X,T>java.lang.Exception