Class ClientLock

  • All Implemented Interfaces:
    Lock

    @Deprecated(forRemoval=true)
    public class ClientLock
    extends ClientObject
    implements Lock
    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.

    Local adapter for the JCR-RMI RemoteLock interface. This class makes a remote lock locally available using the JCR Lock interface.

    See Also:
    Lock, RemoteLock
    • Constructor Detail

      • ClientLock

        public ClientLock​(Session session,
                          RemoteLock remote,
                          LocalAdapterFactory factory)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Creates a local adapter for the given remote lock.
        Parameters:
        session - current session
        remote - remote lock
        factory - local adapter factory
    • Method Detail

      • getNode

        public Node getNode()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getNode in interface Lock
      • getLockOwner

        public String getLockOwner()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getLockOwner in interface Lock
      • isDeep

        public boolean isDeep()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        isDeep in interface Lock
      • getLockToken

        public String getLockToken()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        getLockToken in interface Lock
      • isSessionScoped

        public boolean isSessionScoped()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        isSessionScoped in interface Lock
      • isLockOwningSession

        public boolean isLockOwningSession()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Specified by:
        isLockOwningSession in interface Lock