Interface DelayedProxy

    • Method Detail

      • load

        void load()
        Load the proxy if it was delay-loaded.
      • isDirectAccess

        boolean isDirectAccess()
        Returns whether the caller has direct-call access to the proxied object. Direct access allows calls to be made on the object without triggering a load or proxy state tracking callbacks.
      • setDirectAccess

        void setDirectAccess​(boolean direct)
        Sets whether the caller has direct-call access to the proxied object. Direct access allows calls to be made on the object without triggering a load or proxy state tracking callbacks.
      • getBroker

        Broker getBroker()
        Get the broker that is used to service this proxy.
      • closeBroker

        void closeBroker()
        Close the broker that is used to service this proxy.
      • getOwnerStateManager

        OpenJPAStateManager getOwnerStateManager()
        Returns the state manager of the owning instance.
      • getDelayedOwner

        OpenJPAStateManager getDelayedOwner()
        Returns a state manager that can service this proxy even if the collection was detached.
      • getDelayedField

        int getDelayedField()
        Returns the expected field index even if this collection was detached.
      • isDetached

        boolean isDetached()
        Returns whether the proxy is detached.