Developing a governance validation plug-in

A WSRR governance validation plug-in is written as a Java™ class that implements either the com.ibm.serviceregistry.governance.ServiceRegistryGovernanceValidator or the com.ibm.serivceregistry.governance.ServiceRegistryGovernanceValidator2 interface.

The ServiceRegistryGovernanceValidator2 interface extends the original ServiceRegistryGovernanceValidator interface and provides additional functionality.

The ServiceRegistryGovernanceValidator interface extends the base ServiceRegistryValidator interface and the validation plug-in class must therefore implement the create(), update() and delete() methods described previously, although you can choose to do nothing for these operations. In addition, two extra methods, transition() and validate(), must be implemented in respect of the ServiceRegistryGovernanceValidator interface, and a further two methods, makeGovernable() and removeGovernance(), in respect of the ServiceRegistryGovernanceValidator2 interface. Each method must return a ServiceRegistryStatus object to indicate its completion.

The governance validation plug-ins are invoked only for objects that are currently part of a governed lifecycle.

Click the links to the Javadoc API reference for details of methods and return values.