public final class MessageBeanContextImpl extends EJBContextImpl implements javax.ejb.MessageDrivenContext
EJBContextImpl.BeanState
container, 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, unregisterResource
public void setContextCalled()
public UserTransaction getUserTransaction() throws IllegalStateException
getUserTransaction
in interface javax.ejb.EJBContext
getUserTransaction
in class EJBContextImpl
IllegalStateException
public javax.ejb.EJBHome getEJBHome()
getEJBHome
in interface javax.ejb.EJBContext
getEJBHome
in class EJBContextImpl
protected void checkAccessToCallerSecurity() throws IllegalStateException
EJBContextImpl
checkAccessToCallerSecurity
in class EJBContextImpl
IllegalStateException
public boolean isCallerInRole(String roleRef)
isCallerInRole
in interface javax.ejb.EJBContext
isCallerInRole
in class EJBContextImpl
public javax.ejb.TimerService getTimerService() throws IllegalStateException
getTimerService
in interface javax.ejb.EJBContext
IllegalStateException
public void checkTimerServiceMethodAccess() throws IllegalStateException
EJBContextImpl
checkTimerServiceMethodAccess
in interface ComponentContext
checkTimerServiceMethodAccess
in class EJBContextImpl
IllegalStateException
Copyright © 2020. All rights reserved.