Interface RemotePrivilege

  • All Superinterfaces:
    Remote
    All Known Implementing Classes:
    ServerPrivilege

    @Deprecated(forRemoval=true)
    public interface RemotePrivilege
    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 Privilege interface. Used by the ServerPrivilege and ClientPrivilege 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 Privilege method. The remote object will simply forward the method call to the underlying Privilege 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:
    Privilege, ClientPrivilege, ServerPrivilege