com.ibm.wsspi.wim.pluginmanager
Interface NotificationSubscriber
- All Superinterfaces:
- Subscriber
public interface NotificationSubscriber
- extends Subscriber
The notification-type subscriber allows developers to write exit function
which doesn't make any modifications to the DataGraph that is being sent
into the topic-emitter on which the subscriber is listening in.
Method Summary |
void |
postExitCall(java.lang.String emitter,
commonj.sdo.DataObject daisyChainDGRootDO,
commonj.sdo.DataObject adapterDGRootDO)
Function call is called at the end of a Topic-Emitter and allows
the NotificationSubscriber to execute its PostExit code. |
void |
preExitCall(java.lang.String emitter,
commonj.sdo.DataObject pristineDGRootDO)
This function is called at the beginning of a Topic-Emitter and allows
the NotificationSubscriber to execute its PreExit code. |
COPYRIGHT_NOTICE
static final java.lang.String COPYRIGHT_NOTICE
- See Also:
- Constant Field Values
preExitCall
void preExitCall(java.lang.String emitter,
commonj.sdo.DataObject pristineDGRootDO)
throws SubscriberException
- This function is called at the beginning of a Topic-Emitter and allows
the NotificationSubscriber to execute its PreExit code.
A call to this method is made to tell the subscriber that the emitter
method is beginning execution, and to give the notification subscriber
the input datagraph to that method.
- Parameters:
emitter
- The topic-emitter name on which the subscriber is listening onpristineDGRootDO
- Root The DataObject which has the information passed from API.
This DataObject will be unchanged from the call to the API.
- Throws:
SubscriberException
postExitCall
void postExitCall(java.lang.String emitter,
commonj.sdo.DataObject daisyChainDGRootDO,
commonj.sdo.DataObject adapterDGRootDO)
throws SubscriberException
- Function call is called at the end of a Topic-Emitter and allows
the NotificationSubscriber to execute its PostExit code.
A call to this method is made to tell the subscriber that the emitter
method is ending execution, and to give the notification subscriber
the datagraph (as may have been changed by the modification subscribers)
and the datagraph as returned by the adapter.
- Parameters:
emitter
- The topic-emitter name on which the subscriber is listening ondaisyChainDGRootDO
- Root The DataObject which has the information passed from API
which might have been modified by other subscribersadapterDGRootDO
- Root The DataObject returned by the adapter
- Throws:
SubscriberException