Class EntityContextImpl
java.lang.Object
com.sun.ejb.containers.EJBContextImpl
org.glassfish.persistence.ejb.entitybean.container.EntityContextImpl
- All Implemented Interfaces:
com.sun.ejb.ComponentContext,jakarta.ejb.EJBContext,jakarta.ejb.EntityContext,Serializable,org.glassfish.api.invocation.ResourceHandler,CascadeDeleteNotifier
- Direct Known Subclasses:
ReadOnlyContextImpl
public class EntityContextImpl
extends com.sun.ejb.containers.EJBContextImpl
implements jakarta.ejb.EntityContext, CascadeDeleteNotifier
Implementation of EJBContext for EntityBeans
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.ejb.containers.EJBContextImpl
com.sun.ejb.containers.EJBContextImpl.BeanState -
Field Summary
Fields inherited from class com.sun.ejb.containers.EJBContextImpl
cdiInjectionContext, container, ejbLocalBusinessObjectImpl, ejbLocalObjectImpl, ejbObjectImpl, ejbRemoteBusinessObjectImpl, ejbStub, inEjbRemove, initialContext, isLocalInterfaceSupported, isRemoteInterfaceSupported, optionalEjbLocalBusinessObjectImpl, state, transaction -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidjakarta.ejb.EJBObjectImplementation of EntityContext method, overrides EJBContextImpl method.Implementation of EntityContext method.jakarta.ejb.TimerServicefinal booleanfinal booleanfinal voidsetCascadeDeleteAfterSuperEJBRemove(boolean value) final voidsetCascadeDeleteBeforeEJBRemove(boolean value) Methods inherited from class com.sun.ejb.containers.EJBContextImpl
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, lookup, registerResource, setRollbackOnly, setTransaction, touch, unregisterResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.ejb.EJBContext
getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getRollbackOnly, getUserTransaction, isCallerInRole, lookup, setRollbackOnlyMethods inherited from interface jakarta.ejb.EntityContext
getEJBLocalObject
-
Method Details
-
getPrimaryKey
Implementation of EntityContext method.- Specified by:
getPrimaryKeyin interfacejakarta.ejb.EntityContext- Throws:
IllegalStateException
-
getEJBObject
Implementation of EntityContext method, overrides EJBContextImpl method.- Specified by:
getEJBObjectin interfacejakarta.ejb.EntityContext- Overrides:
getEJBObjectin classcom.sun.ejb.containers.EJBContextImpl- Throws:
IllegalStateException
-
getTimerService
- Specified by:
getTimerServicein interfacejakarta.ejb.EJBContext- Throws:
IllegalStateException
-
checkAccessToCallerSecurity
- Overrides:
checkAccessToCallerSecurityin classcom.sun.ejb.containers.EJBContextImpl- Throws:
IllegalStateException
-
checkTimerServiceMethodAccess
- Specified by:
checkTimerServiceMethodAccessin interfacecom.sun.ejb.ComponentContext- Overrides:
checkTimerServiceMethodAccessin classcom.sun.ejb.containers.EJBContextImpl- Throws:
IllegalStateException
-
isCascadeDeleteAfterSuperEJBRemove
public final boolean isCascadeDeleteAfterSuperEJBRemove() -
setCascadeDeleteAfterSuperEJBRemove
public final void setCascadeDeleteAfterSuperEJBRemove(boolean value) - Specified by:
setCascadeDeleteAfterSuperEJBRemovein interfaceCascadeDeleteNotifier
-
isCascadeDeleteBeforeEJBRemove
public final boolean isCascadeDeleteBeforeEJBRemove() -
setCascadeDeleteBeforeEJBRemove
public final void setCascadeDeleteBeforeEJBRemove(boolean value)
-