org.jboss.soa.esb.services
Class NotifHandlerBsDelegateLocal

java.lang.Object
  extended by org.jboss.soa.esb.services.NotifHandlerBsDelegateLocal
All Implemented Interfaces:
InotificationHandler

public class NotifHandlerBsDelegateLocal
extends java.lang.Object
implements InotificationHandler


Constructor Summary
NotifHandlerBsDelegateLocal(javax.naming.Context p_ctx)
           
 
Method Summary
 void sendNotifications(DomElement p_oP, java.io.Serializable p_o)
          public void sendNotifications(DomElement p_oP, Serializable p_o)
 void sendNotifications(java.io.Serializable p_o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifHandlerBsDelegateLocal

public NotifHandlerBsDelegateLocal(javax.naming.Context p_ctx)
                            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

sendNotifications

public void sendNotifications(DomElement p_oP,
                              java.io.Serializable p_o)
                       throws java.lang.Exception
Description copied from interface: InotificationHandler
public void sendNotifications(DomElement p_oP, Serializable p_o)

Specified by:
sendNotifications in interface InotificationHandler
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

public void sendNotifications(java.io.Serializable p_o)
                       throws java.lang.Exception
Specified by:
sendNotifications in interface InotificationHandler
Throws:
java.lang.Exception