Class 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:
    Serialized Form
    • 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

        container, ejbLocalBusinessObjectImpl, ejbLocalObjectImpl, ejbObjectImpl, ejbRemoteBusinessObjectImpl, ejbStub, inEjbRemove, initialContext, isLocalInterfaceSupported, isRemoteInterfaceSupported, jcdiInjectionContext, optionalEjbLocalBusinessObjectImpl, state, transaction
    • Method Detail

      • getEJBObject

        public jakarta.ejb.EJBObject getEJBObject()
                                           throws IllegalStateException
        Implementation of EntityContext method, overrides EJBContextImpl method.
        Specified by:
        getEJBObject in interface jakarta.ejb.EntityContext
        Overrides:
        getEJBObject in class com.sun.ejb.containers.EJBContextImpl
        Throws:
        IllegalStateException
      • checkAccessToCallerSecurity

        protected void checkAccessToCallerSecurity()
                                            throws IllegalStateException
        Overrides:
        checkAccessToCallerSecurity in class com.sun.ejb.containers.EJBContextImpl
        Throws:
        IllegalStateException
      • checkTimerServiceMethodAccess

        public void checkTimerServiceMethodAccess()
                                           throws IllegalStateException
        Specified by:
        checkTimerServiceMethodAccess in interface com.sun.ejb.ComponentContext
        Overrides:
        checkTimerServiceMethodAccess in class com.sun.ejb.containers.EJBContextImpl
        Throws:
        IllegalStateException
      • isCascadeDeleteAfterSuperEJBRemove

        public final boolean isCascadeDeleteAfterSuperEJBRemove()
      • isCascadeDeleteBeforeEJBRemove

        public final boolean isCascadeDeleteBeforeEJBRemove()
      • setCascadeDeleteBeforeEJBRemove

        public final void setCascadeDeleteBeforeEJBRemove​(boolean value)