org.jboss.soa.esb.services
Interface InotificationHandler
- All Known Implementing Classes:
- NotifHandlerBsDelegateLocal, NotifHandlerBsDelegateRemote
public interface InotificationHandler
Use this interface to group all methods that can be useful to
trigger events that can be caught by listeners, within or outside of
the Rosetta framework
- Author:
- Esteban
sendNotifications
void sendNotifications(DomElement p_oP,
java.io.Serializable p_o)
throws java.lang.Exception
- public void sendNotifications(DomElement p_oP, Serializable p_o)
- Parameters:
p_oP - DomElement - A serialized NotificationList object (as a DomElement)p_o - The Serializable object that will be sent to all the
NotificationTarget objects contained in the NotificationList
Implementations of this interface will be responsible of sending
the Serializable (arg 1) to destinations determined by each
NotificationTarget contained in the NotificationList represented by
arg 0.
Please see org.jboss.soa.esb.notification package for existing
classes that extend NotificationTarget (Files, Queues, Topics, SqlTable...)
Invoking processes are responsible to provide dynamic content
of notification
The NotificationTarget objects can define 'static' content for
(suc as contents of certain columns in SQL, or message properties for
JMS notification targets, etc.
- Throws:
java.lang.Exception
sendNotifications
void sendNotifications(java.io.Serializable p_o)
throws java.lang.Exception
- Throws:
java.lang.Exception