public final class MessageBeanContextImpl extends EJBContextImpl implements javax.ejb.MessageDrivenContext
EJBContextImpl.BeanStatecontainer, ejbLocalBusinessObjectImpl, ejbLocalObjectImpl, ejbObjectImpl, ejbRemoteBusinessObjectImpl, ejbStub, inEjbRemove, initialContext, isLocalInterfaceSupported, isRemoteInterfaceSupported, jcdiInjectionContext, optionalEjbLocalBusinessObjectImpl, state, transaction| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAccessToCallerSecurity()
Overridden in containers that allow access to isCallerInRole() and
getCallerPrincipal()
|
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.
|
javax.ejb.EJBHome |
getEJBHome() |
javax.ejb.TimerService |
getTimerService() |
UserTransaction |
getUserTransaction() |
boolean |
isCallerInRole(String roleRef) |
void |
setContextCalled() |
checkActivatePassivate, decrementConcurrentInvokeCount, doGetSetRollbackTxAttrCheck, getCallerIdentity, getCallerPrincipal, getConcurrentInvokeCount, getContainer, getContextData, getEJB, getEJBLocalHome, getEJBLocalObject, getEJBObject, getEnvironment, getInterceptorInstances, getKey, getLastTimeUsed, getResourceList, getRollbackOnly, getState, getTransaction, inActivatePassivate, inActivatePassivate, incrementConcurrentInvokeCount, isCallerInRole, lookup, registerResource, setRollbackOnly, setTransaction, touch, unregisterResourcepublic void setContextCalled()
public UserTransaction getUserTransaction() throws IllegalStateException
getUserTransaction in interface javax.ejb.EJBContextgetUserTransaction in class EJBContextImplIllegalStateExceptionpublic javax.ejb.EJBHome getEJBHome()
getEJBHome in interface javax.ejb.EJBContextgetEJBHome in class EJBContextImplprotected void checkAccessToCallerSecurity()
throws IllegalStateException
EJBContextImplcheckAccessToCallerSecurity in class EJBContextImplIllegalStateExceptionpublic boolean isCallerInRole(String roleRef)
isCallerInRole in interface javax.ejb.EJBContextisCallerInRole in class EJBContextImplpublic javax.ejb.TimerService getTimerService()
throws IllegalStateException
getTimerService in interface javax.ejb.EJBContextIllegalStateExceptionpublic void checkTimerServiceMethodAccess()
throws IllegalStateException
EJBContextImplcheckTimerServiceMethodAccess in interface ComponentContextcheckTimerServiceMethodAccess in class EJBContextImplIllegalStateExceptionCopyright © 2019. All rights reserved.