|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.notification.NotificationTarget
public abstract class NotificationTarget
Abstract class to define expected behaviour of all NotificationTargets and provide some common functionality to all of them
Description:
Heuristica - Buenos Aires - Argentina
Field Summary | |
---|---|
protected ConfigTree |
m_oParms
Common object to hold details of object's information - Each derived class will hold it's own needs |
static java.lang.String |
PRM_NOTIF_CLASS
|
Constructor Summary | |
---|---|
protected |
NotificationTarget()
Instantiate an empty NotificationTarget object |
protected |
NotificationTarget(ConfigTree p_oP)
Instantiate a NotificationTarget object with the information contained in <arg 1> |
Method Summary | |
---|---|
static NotificationTarget |
fromParams(ConfigTree p_oP)
A typical Factory.getInstance() method |
abstract void |
sendNotification(Message message)
Derived classes must implement this method to do what has to be done to trigger that specific type of notification event |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PRM_NOTIF_CLASS
protected ConfigTree m_oParms
Constructor Detail |
---|
protected NotificationTarget()
protected NotificationTarget(ConfigTree p_oP)
p_oP
- ConfigTree - Holds details to instantiate this objectMethod Detail |
---|
public abstract void sendNotification(Message message) throws NotificationException
message
- Object - The toString() method of this object will be the
actual notification content
NotificationException
- -
invoke Exception.getMessage() at runtime for this objectConfigTree
public static NotificationTarget fromParams(ConfigTree p_oP) throws ConfigurationException
p_oP
- ConfigTree - Contents of this argument will determine the type
(derived class) of NotificationTarget returned
ConfigurationException
- -
Arg 1 does not contain a valid structure for currently
implemented NotificationTarget subclasses - invoke
Exception.getMessage() at runtime for details
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |