org.springframework.extensions.jcr
Class EventListenerDefinition
java.lang.Object
org.springframework.extensions.jcr.EventListenerDefinition
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class EventListenerDefinition
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean
Transport class used for registering event types inside a workspace. It contains defaults for all
properties except the listener (obviously):
- absPath = "/"
- eventTypes = Event.NODE_ADDED | Event.NODE_REMOVED | Event.PROPERTY_ADDED | Event.PROPERTY_CHANGED |
Event.PROPERTY_REMOVED
- isDeep = true
- uuid = null
- nodeTypeName = null
- noLocal = false
- Author:
- Costin Leau, Sergio Bossa, Salvatore Incandela
- See Also:
ObservationManager.addEventListener(javax.jcr.observation.EventListener, int,
java.lang.String, boolean, java.lang.String[], java.lang.String[], boolean)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventListenerDefinition
public EventListenerDefinition()
getAbsPath
public java.lang.String getAbsPath()
- Returns:
- Returns the absPath.
setAbsPath
public void setAbsPath(java.lang.String absPath)
- Parameters:
absPath - The absPath to set.
getEventTypes
public int getEventTypes()
- Returns:
- Returns the eventTypes.
setEventTypes
public void setEventTypes(int eventTypes)
- Parameters:
eventTypes - The eventTypes to set.
isDeep
public boolean isDeep()
- Returns:
- Returns the isDeep.
setDeep
public void setDeep(boolean isDeep)
- Parameters:
isDeep - The isDeep to set.
getListener
public javax.jcr.observation.EventListener getListener()
- Returns:
- Returns the listener.
setListener
public void setListener(javax.jcr.observation.EventListener listener)
- Parameters:
listener - The listener to set.
getNodeTypeName
public java.lang.String[] getNodeTypeName()
- Returns:
- Returns the nodeTypeName.
setNodeTypeName
public void setNodeTypeName(java.lang.String[] nodeTypeName)
- Parameters:
nodeTypeName - The nodeTypeName to set.
isNoLocal
public boolean isNoLocal()
- Returns:
- Returns the noLocal.
setNoLocal
public void setNoLocal(boolean noLocal)
- Parameters:
noLocal - The noLocal to set.
getUuid
public java.lang.String[] getUuid()
- Returns:
- Returns the uuid.
setUuid
public void setUuid(java.lang.String[] uuid)
- Parameters:
uuid - The uuid to set.
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
Copyright © 2009. All Rights Reserved.