Developing a notification plug-in

A WSRR notification plug-in is written as a Java™ class that implements the interface com.ibm.serviceregistry.ServiceRegistryNotifier.

There are three methods required to be implemented by the ServiceRegistryNotifier interface: create(), update() and delete(). These methods have a void return type, because they are invoked after a WSRR operation has completed.

Each method includes a Boolean success parameter and a ServiceRegistryException exception parameter. If the operation completed successfully the success parameter will be true and the exception parameter will be null. If the operation failed the success parameter will be false and the exception parameter will contain the exception that caused the failure.

Click the links to the Javadoc API reference for details of method.