|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 DomElement |
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(DomElement p_oP)
Instantiate a NotificationTarget object with the information contained in <arg 1> |
| Method Summary | |
|---|---|
static NotificationTarget |
fromParams(DomElement p_oP)
A typical Factory.getInstance() method |
abstract void |
sendNotification(java.io.Serializable p_o)
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 DomElement m_oParms
| Constructor Detail |
|---|
protected NotificationTarget()
protected NotificationTarget(DomElement p_oP)
p_oP - DomElement - Holds details to instantiate this object| Method Detail |
|---|
public abstract void sendNotification(java.io.Serializable p_o)
throws java.lang.Exception
p_o - Object - The toString() method of this object will be the actual
notification content
java.lang.Exception - - invoke Exception.getMessage() at runtime for this objectDomElement
public static NotificationTarget fromParams(DomElement p_oP)
throws java.lang.Exception
p_oP - DomElement - Contents of this argument will determine the
type (derived class) of NotificationTarget returned
java.lang.Exception - - 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 | ||||||||