Package org.hippoecm.hst.core.jcr
Class GenericEventListener
java.lang.Object
org.hippoecm.hst.core.jcr.GenericEventListener
- All Implemented Interfaces:
EventListener
The
GenericEventListener
class provides a default implementation for
the EventListener
interface.
This receives an event and dispatches each event to a specialized method.
The child class of this class can override some methods which are related to
its own interests.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
eventIgnorable
(Event event) String[]
protected boolean
isEventOnSkippedPath
(Event event) void
onEvent
(EventIterator events) protected void
onNodeAdded
(Event event) protected void
onNodeRemoved
(Event event) protected void
onPropertyAdded
(Event event) protected void
onPropertyChanged
(Event event) protected void
onPropertyRemoved
(Event event) void
setSkipPaths
(String[] skipPaths)
-
Field Details
-
skipPaths
-
-
Constructor Details
-
GenericEventListener
public GenericEventListener()
-
-
Method Details
-
getSkipPaths
-
setSkipPaths
-
isEventOnSkippedPath
- Throws:
RepositoryException
-
eventIgnorable
- Throws:
RepositoryException
-
onEvent
- Specified by:
onEvent
in interfaceEventListener
-
onNodeAdded
-
onNodeRemoved
-
onPropertyAdded
-
onPropertyChanged
-
onPropertyRemoved
-