public class NodeRemovalEventObserver extends Object implements javax.jcr.observation.EventListener
| Constructor and Description |
|---|
NodeRemovalEventObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildListener()
Register this observer with the JCR event listeners
|
void |
onEvent(javax.jcr.observation.EventIterator events)
Filter JCR events and transform them into our own FedoraEvents.
|
void |
stopListening()
logout of the session
|
public NodeRemovalEventObserver()
@PostConstruct public void buildListener() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException@PreDestroy public void stopListening() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void onEvent(javax.jcr.observation.EventIterator events)
onEvent in interface javax.jcr.observation.EventListenerevents - Copyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.