public class EntityContextImpl extends EJBContextImpl implements javax.ejb.EntityContext, CascadeDeleteNotifier
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.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, unregisterResourcepublic Object getPrimaryKey() throws IllegalStateException
getPrimaryKey in interface javax.ejb.EntityContextIllegalStateExceptionpublic javax.ejb.EJBObject getEJBObject()
throws IllegalStateException
getEJBObject in interface javax.ejb.EntityContextgetEJBObject in class EJBContextImplIllegalStateExceptionpublic javax.ejb.TimerService getTimerService()
throws IllegalStateException
getTimerService in interface javax.ejb.EJBContextIllegalStateExceptionprotected void checkAccessToCallerSecurity()
throws IllegalStateException
EJBContextImplcheckAccessToCallerSecurity in class EJBContextImplIllegalStateExceptionpublic void checkTimerServiceMethodAccess()
throws IllegalStateException
EJBContextImplcheckTimerServiceMethodAccess in interface ComponentContextcheckTimerServiceMethodAccess in class EJBContextImplIllegalStateExceptionpublic final boolean isCascadeDeleteAfterSuperEJBRemove()
public final void setCascadeDeleteAfterSuperEJBRemove(boolean value)
setCascadeDeleteAfterSuperEJBRemove in interface CascadeDeleteNotifierpublic final boolean isCascadeDeleteBeforeEJBRemove()
public final void setCascadeDeleteBeforeEJBRemove(boolean value)
Copyright © 2019. All rights reserved.