Package org.bedework.util.jms.listeners
Class SysEventListenerImpl
java.lang.Object
org.bedework.util.jms.listeners.SysEventListener
org.bedework.util.jms.listeners.SysEventListenerImpl
This is the implementation of a notifications listener.
- Author:
- Mike Douglass douglm - rpi.edu
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSysEventListenerImpl(String code) SysEventListenerImpl(String 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- the system code
-
SysEventListenerImpl
public SysEventListenerImpl(String code, SysEventActionClass actionObject) throws NotificationException - Parameters:
code- the system codeactionObject- the object- Throws:
NotificationException
-
-
Method Details
-
setActionClassName
Description copied from class:SysEventListenerSet name of action class.- Specified by:
setActionClassNamein classSysEventListener- Throws:
NotificationException- on fatal error
-
setActionObject
Description copied from class:SysEventListenerSupply action object - will set class name.- Specified by:
setActionObjectin classSysEventListener- Throws:
NotificationException- on fatal error
-
action
Description copied from class:SysEventListenerCalled whenever a matching event occurs. Will call the action class.- Specified by:
actionin classSysEventListener- Throws:
NotificationException- on fatal error
-
toXml
Description copied from class:SysEventListenerCreate a string representation.- Specified by:
toXmlin classSysEventListener- Returns:
- String
- Throws:
NotificationException- on fatal error
-