|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.ClientObservationManager
public class ClientObservationManager
The ClientObservationManager
class
This 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 a null
factory.
See the observation
package comment for a description on how event listener registration and
notification is implemented.
ClientEventPoll
Constructor Summary | |
---|---|
ClientObservationManager(Workspace workspace,
RemoteObservationManager remote)
Creates an instance of this class talking to the given remote observation manager. |
Method Summary | |
---|---|
void |
addEventListener(EventListener listener,
int eventTypes,
String absPath,
boolean isDeep,
String[] uuid,
String[] nodeTypeName,
boolean noLocal)
|
EventListenerIterator |
getRegisteredEventListeners()
|
void |
removeEventListener(EventListener listener)
|
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject |
---|
getFactory, getItem, getNode, getNodeTypeArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientObservationManager(Workspace workspace, RemoteObservationManager remote)
remote
- The RemoteObservationManager
backing this
client-side observation manager.workspace
- The Workspace
instance to which this
observation manager belongs.Method Detail |
---|
public void addEventListener(EventListener listener, int eventTypes, String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName, boolean noLocal) throws RepositoryException
addEventListener
in interface ObservationManager
RepositoryException
public void removeEventListener(EventListener listener) throws RepositoryException
removeEventListener
in interface ObservationManager
RepositoryException
public EventListenerIterator getRegisteredEventListeners()
getRegisteredEventListeners
in interface ObservationManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |