Interface RemoteLock

  • All Superinterfaces:
    Remote
    All Known Implementing Classes:
    ServerLock

    @Deprecated(forRemoval=true)
    public interface RemoteLock
    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 Lock interface. Used by the ServerLock and ClientLock adapter classes to provide transparent RMI access to remote locks.

    The methods in this interface are documented only with a reference to a corresponding Lock method. The remote object will simply forward the method call to the underlying Lock instance. Return values and possible exceptions are copied over the network. RMI errors are signaled with RemoteExceptions.

    See Also:
    Lock, ClientLock, ServerLock