Interface RemoteSession

  • All Superinterfaces:
    All Known Subinterfaces:
    All Known Implementing Classes:
    ServerSession, ServerXASession

    public interface RemoteSession
    extends Remote
    Deprecated, for removal: This API element is subject to removal in a future version.
    RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.

    Remote version of the JCR Session interface. Used by the ServerSession and ClientSession adapters to provide transparent RMI access to remote sessions.

    Most of the methods in this interface are documented only with a reference to a corresponding Session method. In these cases the remote object will simply forward the method call to the underlying Session instance. Complex return values like workspaces and other objects are returned as remote references to the corresponding remote interface. Simple return values and possible exceptions are simply copied over the network to the client. RMI errors are signaled with RemoteExceptions.

    See Also:
    Session, ClientSession, ServerSession