Search in sources :

Example 1 with RemoteLockManager

use of org.apache.jackrabbit.rmi.remote.RemoteLockManager in project jackrabbit by apache.

the class ServerWorkspace method getLockManager.

/** {@inheritDoc} */
public RemoteLockManager getLockManager() throws RepositoryException, RemoteException {
    try {
        if (remoteLockManager == null) {
            LockManager lockManager = workspace.getLockManager();
            remoteLockManager = getFactory().getRemoteLockManager(lockManager);
        }
        return remoteLockManager;
    } catch (RepositoryException ex) {
        throw getRepositoryException(ex);
    }
}
Also used : LockManager(javax.jcr.lock.LockManager) RemoteLockManager(org.apache.jackrabbit.rmi.remote.RemoteLockManager) RepositoryException(javax.jcr.RepositoryException)

Aggregations

RepositoryException (javax.jcr.RepositoryException)1 LockManager (javax.jcr.lock.LockManager)1 RemoteLockManager (org.apache.jackrabbit.rmi.remote.RemoteLockManager)1