Interface JackrabbitObservationManager
- 
- All Superinterfaces:
 javax.jcr.observation.ObservationManager
@ProviderType public interface JackrabbitObservationManager extends javax.jcr.observation.ObservationManagerJackrabbit specific extensions toObservationManager. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddEventListener(javax.jcr.observation.EventListener listener, JackrabbitEventFilter filter)Adds an event listener that listens for the events specified by the passedJackrabbitEventFilter. 
 - 
 
- 
- 
Method Detail
- 
addEventListener
void addEventListener(javax.jcr.observation.EventListener listener, JackrabbitEventFilter filter) throws javax.jcr.RepositoryExceptionAdds an event listener that listens for the events specified by the passedJackrabbitEventFilter.In addition to the
EventFilter, the set of events reported will be further filtered by the access rights of the currentSession.See
JackrabbitEventFilterfor a description of the filtering parameters available.The filter of an already-registered
EventListenercan be changed at runtime by re-registering the sameEventListenerobject (i.e. the same actual Java object) with a new filter. The implementation must ensure that no events are lost during the changeover.In addition to the filters placed on a listener above, the scope of observation support, in terms of which parts of a workspace are observable, may also be subject to implementation-specific restrictions. For example, in some repositories observation of changes in the
jcr:systemsubgraph may not be supported.- Parameters:
 listener- anEventListenerobject.filter- anJackrabbitEventFilterobject.- Throws:
 javax.jcr.RepositoryException- If an error occurs.
 
 - 
 
 -