|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.ejb.containers.EJBContextImpl
com.sun.ejb.containers.AbstractSessionContextImpl
com.sun.ejb.containers.SingletonContextImpl
public final class SingletonContextImpl
Implementation of EJBContext for Singleton SessionBeans
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.ejb.containers.EJBContextImpl |
|---|
EJBContextImpl.BeanState |
| Field Summary |
|---|
| Fields inherited from class com.sun.ejb.containers.AbstractSessionContextImpl |
|---|
ejbName, instanceKey |
| Fields inherited from class com.sun.ejb.containers.EJBContextImpl |
|---|
container, ejbLocalBusinessObjectImpl, ejbLocalObjectImpl, ejbObjectImpl, ejbRemoteBusinessObjectImpl, ejbStub, inEjbRemove, isLocalInterfaceSupported, isRemoteInterfaceSupported, jcdiInjectionContext, optionalEjbLocalBusinessObjectImpl, state, transaction |
| Method Summary | |
|---|---|
void |
checkTimerServiceMethodAccess()
The EJB spec makes a distinction between access to the TimerService object itself (via EJBContext.getTimerService) and access to the methods on TimerService, Timer, and TimerHandle. |
boolean |
getRollbackOnly()
|
TimerService |
getTimerService()
|
void |
setRollbackOnly()
|
| Methods inherited from class com.sun.ejb.containers.AbstractSessionContextImpl |
|---|
checkAccessToCallerSecurity, getBusinessObject, getCurrentComponentInvocation, getInstanceKey, getInvokedBusinessInterface, getMessageContext, getUserTransaction, setInstanceKey, toString, wasCancelCalled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.ejb.SessionContext |
|---|
getBusinessObject, getEJBLocalObject, getEJBObject, getInvokedBusinessInterface, getMessageContext, wasCancelCalled |
| Methods inherited from interface javax.ejb.EJBContext |
|---|
getCallerIdentity, getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getUserTransaction, isCallerInRole, isCallerInRole, lookup |
| Method Detail |
|---|
public TimerService getTimerService()
throws java.lang.IllegalStateException
getTimerService in interface EJBContextgetTimerService in class AbstractSessionContextImpljava.lang.IllegalStateException
public void setRollbackOnly()
throws java.lang.IllegalStateException
setRollbackOnly in interface EJBContextsetRollbackOnly in class EJBContextImpljava.lang.IllegalStateException
public boolean getRollbackOnly()
throws java.lang.IllegalStateException
getRollbackOnly in interface EJBContextgetRollbackOnly in class EJBContextImpljava.lang.IllegalStateException
public void checkTimerServiceMethodAccess()
throws java.lang.IllegalStateException
EJBContextImpl
checkTimerServiceMethodAccess in interface ComponentContextcheckTimerServiceMethodAccess in class AbstractSessionContextImpljava.lang.IllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||