Class ReadOnlyContextImpl

java.lang.Object
com.sun.ejb.containers.EJBContextImpl
org.glassfish.persistence.ejb.entitybean.container.EntityContextImpl
org.glassfish.persistence.ejb.entitybean.container.ReadOnlyContextImpl
All Implemented Interfaces:
com.sun.ejb.ComponentContext, jakarta.ejb.EJBContext, jakarta.ejb.EntityContext, Serializable, org.glassfish.api.invocation.ResourceHandler, CascadeDeleteNotifier

public final class ReadOnlyContextImpl extends EntityContextImpl
Implementation of EJBContext for ReadOnlyBeans. Contains extra attributes that allows selective ejbLoad()
Author:
Mahesh Kannan
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 Type
    Method
    Description
    long
     
    int
     
    org.glassfish.persistence.ejb.entitybean.container.ReadOnlyBeanInfo
     
    void
     
    boolean
     
    void
    setLastRefreshedAt(long time)
     
    void
     
    void
    setReadOnlyBeanInfo(org.glassfish.persistence.ejb.entitybean.container.ReadOnlyBeanInfo info)
     
    void
    setRemoved(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, unregisterResource

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.ejb.EJBContext

    getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getRollbackOnly, getUserTransaction, isCallerInRole, lookup, setRollbackOnly

    Methods inherited from interface jakarta.ejb.EntityContext

    getEJBLocalObject
  • Method Details

    • getPKLevelSequenceNum

      public int getPKLevelSequenceNum()
    • incrementPKLevelSequenceNum

      public void incrementPKLevelSequenceNum()
    • setPKLevelSequenceNum

      public void setPKLevelSequenceNum(int num)
    • getLastRefreshedAt

      public long getLastRefreshedAt()
    • setLastRefreshedAt

      public void setLastRefreshedAt(long time)
    • isRemoved

      public boolean isRemoved()
    • setRemoved

      public void setRemoved(boolean value)
    • setReadOnlyBeanInfo

      public void setReadOnlyBeanInfo(org.glassfish.persistence.ejb.entitybean.container.ReadOnlyBeanInfo info)
    • getReadOnlyBeanInfo

      public org.glassfish.persistence.ejb.entitybean.container.ReadOnlyBeanInfo getReadOnlyBeanInfo()