Package org.bedework.sysevents.listeners
Class SysEventListenerImpl
java.lang.Object
org.bedework.sysevents.listeners.SysEventListener
org.bedework.sysevents.listeners.SysEventListenerImpl
- Direct Known Subclasses:
CollectionListener
This is the implementation of a notifications listener.
- Author:
- Mike Douglass douglm - rpi.edu
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSysEventListenerImpl(SysEventBase.SysCode code, SysEventActionClass actionObject) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled whenever a matching event occurs.voidsetActionClassName(String className) Set name of action class.voidsetActionObject(SysEventActionClass actionObject) Supply action object - will set class name.toXml()Create a string representation.
-
Field Details
-
sysCode
-
props
-
-
Constructor Details
-
SysEventListenerImpl
- Parameters:
code-
-
SysEventListenerImpl
public SysEventListenerImpl(SysEventBase.SysCode code, SysEventActionClass actionObject) throws NotificationException - Parameters:
code-actionObject-- Throws:
NotificationException
-
-
Method Details
-
setActionClassName
Description copied from class:SysEventListenerSet name of action class.- Specified by:
setActionClassNamein classSysEventListener- Throws:
NotificationException
-
setActionObject
Description copied from class:SysEventListenerSupply action object - will set class name.- Specified by:
setActionObjectin classSysEventListener- Throws:
NotificationException
-
action
Description copied from class:SysEventListenerCalled whenever a matching event occurs. Will call the action class.- Specified by:
actionin classSysEventListener- Throws:
NotificationException
-
toXml
Description copied from class:SysEventListenerCreate a string representation.- Specified by:
toXmlin classSysEventListener- Returns:
- String
- Throws:
NotificationException
-