|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.helpers.DomElement
org.jboss.soa.esb.notification.NotificationList
public class NotificationList
Holds lists of NotificationTarget objects so that the NotificationHandler EJB behaviour can be controlled at runtime by client applications
Description: Objects of this class will hold a list of objects that extend the NotificationTarget base class. It's main purpose is to allow Rosetta users to configure lists of recipients of specific events, and request the NotificationHandler EJB to take care of triggering the events to each object specified as a child "target" element
Author: Heuristica - Buenos Aires - Argentina
| Field Summary | |
|---|---|
static java.lang.String |
CHILD_TGT
|
static java.lang.String |
ELEMENT
Mnemonic name for the XML element name for the serialized form of objects of this class |
static java.lang.String |
TYPE
|
| Fields inherited from class org.jboss.soa.esb.helpers.DomElement |
|---|
LINE_BREAK |
| Constructor Summary | |
|---|---|
NotificationList(DomElement p_oP)
Instantiate an object according to the contents of <arg 1> |
|
| Method Summary | |
|---|---|
boolean |
isErr()
Is this an Error (failure) NotificationList ? |
boolean |
isOK()
Is this an OK (success) NotificationList ? |
void |
sendNotification(java.io.Serializable p_o)
Invoke the sendNotification() method for all targets in the list. |
| Methods inherited from class org.jboss.soa.esb.helpers.DomElement |
|---|
addElemChild, addTextChild, addTextChildren, cloneObj, fromInputStream, fromURL, fromXml, getAllElemChildren, getAttr, getAttrKeys, getDad, getDomElement, getElementChildren, getFirstElementChild, getName, getTextChildren, getTextValue, rmvChildsByName, setAttr, toString, toXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELEMENT
public static final java.lang.String TYPE
public static final java.lang.String CHILD_TGT
| Constructor Detail |
|---|
public NotificationList(DomElement p_oP)
throws java.lang.Exception
p_oP - DomElement - Parameter object containing the information
needed to instantiate this object, including child elements
named "target" that represent each individual
NotificationTarget object
java.lang.Exception - -
the getMessage() of the Exception explains the problem| Method Detail |
|---|
public void sendNotification(java.io.Serializable p_o)
throws java.lang.Exception
p_o - Object - The event to notify to all targets
java.lang.Exception - -
use Exception.getMessage() at runtimepublic boolean isOK()
DomElement.getAttr(String)public boolean isErr()
DomElement.getAttr(String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||