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(forRemoval=true) public class ClientObservationManager extends ClientObject implements ObservationManager
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.The
ClientObservationManager
classThis class uses an instance of the
ClientEventPoll
class for the actual registration and event dispatching.This class does not require the
LocalAdapterFactory
and consequently calls the base class constructor with anull
factory.See the
observation
package 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, for removal: This API element is subject to removal in a future version.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 void
addEventListener(EventListener listener, int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName, boolean noLocal)
Deprecated, for removal: This API element is subject to removal in a future version.EventJournal
getEventJournal()
Deprecated, for removal: This API element is subject to removal in a future version.EventJournal
getEventJournal(int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName)
Deprecated, for removal: This API element is subject to removal in a future version.EventListenerIterator
getRegisteredEventListeners()
Deprecated, for removal: This API element is subject to removal in a future version.void
removeEventListener(EventListener listener)
Deprecated, for removal: This API element is subject to removal in a future version.void
setUserData(String userData)
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
-
-
-
Constructor Detail
-
ClientObservationManager
public ClientObservationManager(Workspace workspace, RemoteObservationManager remote)
Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of this class talking to the given remote observation manager.- Parameters:
remote
- TheRemoteObservationManager
backing this client-side observation manager.workspace
- TheWorkspace
instance 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, for removal: This API element is subject to removal in a future version.- Specified by:
addEventListener
in interfaceObservationManager
- Throws:
RepositoryException
-
removeEventListener
public void removeEventListener(EventListener listener) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
removeEventListener
in interfaceObservationManager
- Throws:
RepositoryException
-
getRegisteredEventListeners
public EventListenerIterator getRegisteredEventListeners()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRegisteredEventListeners
in interfaceObservationManager
-
getEventJournal
public EventJournal getEventJournal() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getEventJournal
in interfaceObservationManager
- Throws:
RepositoryException
-
getEventJournal
public EventJournal getEventJournal(int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getEventJournal
in interfaceObservationManager
- Throws:
RepositoryException
-
setUserData
public void setUserData(String userData) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setUserData
in interfaceObservationManager
- Throws:
RepositoryException
-
-