Interface RemotePrincipal

  • All Superinterfaces:
    Remote
    All Known Subinterfaces:
    RemoteGroup
    All Known Implementing Classes:
    ServerGroup, ServerPrincipal

    @Deprecated(forRemoval=true)
    public interface RemotePrincipal
    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 Principal interface. Used by the ServerPrincipal and ClientPrincipal adapter base classes to provide transparent RMI access to remote item definitions.

    The methods in this interface are documented only with a reference to a corresponding Principal method. The remote object will simply forward the method call to the underlying Principal instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex return values are returned as remote references to the corresponding remote interface. RMI errors are signaled with RemoteExceptions.

    See Also:
    Principal, ClientPrincipal, ServerPrincipal