Search in sources :

Example 1 with RemoteObservationManager

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

the class ServerWorkspace method getObservationManager.

/** {@inheritDoc} */
public RemoteObservationManager getObservationManager() throws RepositoryException, RemoteException {
    try {
        if (remoteObservationManager == null) {
            ObservationManager observationManager = workspace.getObservationManager();
            remoteObservationManager = getFactory().getRemoteObservationManager(observationManager);
        }
        return remoteObservationManager;
    } catch (RepositoryException ex) {
        throw getRepositoryException(ex);
    }
}
Also used : ObservationManager(javax.jcr.observation.ObservationManager) RemoteObservationManager(org.apache.jackrabbit.rmi.remote.RemoteObservationManager) RepositoryException(javax.jcr.RepositoryException)

Aggregations

RepositoryException (javax.jcr.RepositoryException)1 ObservationManager (javax.jcr.observation.ObservationManager)1 RemoteObservationManager (org.apache.jackrabbit.rmi.remote.RemoteObservationManager)1