public class EntityContextImpl extends EJBContextImpl implements javax.ejb.EntityContext, CascadeDeleteNotifier
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.EJBObject |
getEJBObject()
Implementation of EntityContext method, overrides EJBContextImpl method.
|
Object |
getPrimaryKey()
Implementation of EntityContext method.
|
javax.ejb.TimerService |
getTimerService() |
boolean |
isCascadeDeleteAfterSuperEJBRemove() |
boolean |
isCascadeDeleteBeforeEJBRemove() |
void |
setCascadeDeleteAfterSuperEJBRemove(boolean value) |
void |
setCascadeDeleteBeforeEJBRemove(boolean value) |
checkActivatePassivate, decrementConcurrentInvokeCount, doGetSetRollbackTxAttrCheck, getCallerIdentity, getCallerPrincipal, getConcurrentInvokeCount, getContainer, getContextData, getEJB, getEJBHome, getEJBLocalHome, getEJBLocalObject, getEnvironment, getInterceptorInstances, getKey, getLastTimeUsed, getResourceList, getRollbackOnly, getState, getTransaction, getUserTransaction, inActivatePassivate, inActivatePassivate, incrementConcurrentInvokeCount, isCallerInRole, isCallerInRole, lookup, registerResource, setRollbackOnly, setTransaction, touch, unregisterResource
public Object getPrimaryKey() throws IllegalStateException
getPrimaryKey
in interface javax.ejb.EntityContext
IllegalStateException
public javax.ejb.EJBObject getEJBObject() throws IllegalStateException
getEJBObject
in interface javax.ejb.EntityContext
getEJBObject
in class EJBContextImpl
IllegalStateException
public javax.ejb.TimerService getTimerService() throws IllegalStateException
getTimerService
in interface javax.ejb.EJBContext
IllegalStateException
protected void checkAccessToCallerSecurity() throws IllegalStateException
EJBContextImpl
checkAccessToCallerSecurity
in class EJBContextImpl
IllegalStateException
public void checkTimerServiceMethodAccess() throws IllegalStateException
EJBContextImpl
checkTimerServiceMethodAccess
in interface ComponentContext
checkTimerServiceMethodAccess
in class EJBContextImpl
IllegalStateException
public final boolean isCascadeDeleteAfterSuperEJBRemove()
public final void setCascadeDeleteAfterSuperEJBRemove(boolean value)
setCascadeDeleteAfterSuperEJBRemove
in interface CascadeDeleteNotifier
public final boolean isCascadeDeleteBeforeEJBRemove()
public final void setCascadeDeleteBeforeEJBRemove(boolean value)
Copyright © 2018. All rights reserved.