Registration of event listeners is done through the ObservationManager object acquired from the Workspace.
javax.jcr. |
|
Observation |
getObservationManager() Returns the ObservationManager object. If the implementation does not support observation, an UnsupportedRepositoryOperationException is thrown. A RepositoryException is thrown if an error occurs. |