Package org.apache.jackrabbit.rmi.client
Class ClientObservationManager
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.ClientObservationManager
-
- All Implemented Interfaces:
ObservationManager
@Deprecated public class ClientObservationManager extends ClientObject implements ObservationManager
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.The
ClientObservationManagerclassThis class uses an instance of the
ClientEventPollclass for the actual registration and event dispatching.This class does not require the
LocalAdapterFactoryand consequently calls the base class constructor with anullfactory.See the
observationpackage comment for a description on how event listener registration and notification is implemented.- See Also:
ClientEventPoll
-
-
Constructor Summary
Constructors Constructor Description ClientObservationManager(Workspace workspace, RemoteObservationManager remote)Deprecated.Creates an instance of this class talking to the given remote observation manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddEventListener(EventListener listener, int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName, boolean noLocal)Deprecated.EventJournalgetEventJournal()Deprecated.EventJournalgetEventJournal(int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName)Deprecated.EventListenerIteratorgetRegisteredEventListeners()Deprecated.voidremoveEventListener(EventListener listener)Deprecated.voidsetUserData(String userData)Deprecated.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
-
-
-
Constructor Detail
-
ClientObservationManager
public ClientObservationManager(Workspace workspace, RemoteObservationManager remote)
Deprecated.Creates an instance of this class talking to the given remote observation manager.- Parameters:
remote- TheRemoteObservationManagerbacking this client-side observation manager.workspace- TheWorkspaceinstance to which this observation manager belongs.
-
-
Method Detail
-
addEventListener
public void addEventListener(EventListener listener, int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName, boolean noLocal) throws RepositoryException
Deprecated.- Specified by:
addEventListenerin interfaceObservationManager- Throws:
RepositoryException
-
removeEventListener
public void removeEventListener(EventListener listener) throws RepositoryException
Deprecated.- Specified by:
removeEventListenerin interfaceObservationManager- Throws:
RepositoryException
-
getRegisteredEventListeners
public EventListenerIterator getRegisteredEventListeners()
Deprecated.- Specified by:
getRegisteredEventListenersin interfaceObservationManager
-
getEventJournal
public EventJournal getEventJournal() throws RepositoryException
Deprecated.- Specified by:
getEventJournalin interfaceObservationManager- Throws:
RepositoryException
-
getEventJournal
public EventJournal getEventJournal(int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName) throws RepositoryException
Deprecated.- Specified by:
getEventJournalin interfaceObservationManager- Throws:
RepositoryException
-
setUserData
public void setUserData(String userData) throws RepositoryException
Deprecated.- Specified by:
setUserDatain interfaceObservationManager- Throws:
RepositoryException
-
-