com.ibm.serviceregistry
Interface ServiceRegistryMessageTask

All Superinterfaces:
ServiceRegistryPlugin

public interface ServiceRegistryMessageTask
extends ServiceRegistryPlugin


Field Summary
static java.lang.String copyrightStatement
           
 
Method Summary
 void execute(java.lang.String type, java.lang.String event, java.lang.String bsruri, java.lang.String name, java.lang.String namespace, java.lang.String version, java.lang.String transition, java.lang.String classificationURIs)
          execute The function that will be called when a WSRR scheduled task is run.
 void postExecute()
          postExecute The function that will be called when a WSRR scheduled task has completed.
 boolean preExecute()
          preExecute The function that will be called prior to the execute method of the scheduled task.
 

Field Detail

copyrightStatement

static final java.lang.String copyrightStatement
See Also:
Constant Field Values
Method Detail

execute

void execute(java.lang.String type,
             java.lang.String event,
             java.lang.String bsruri,
             java.lang.String name,
             java.lang.String namespace,
             java.lang.String version,
             java.lang.String transition,
             java.lang.String classificationURIs)
             throws ServiceRegistryGovernanceException,
                    ServiceRegistryException,
                    java.lang.Exception
execute The function that will be called when a WSRR scheduled task is run.

Parameters:
type - - the type of object referenced in the JMS message
event - - the event for the object referenced in the JMS message
bsruri - - the bsruri of the object referenced in the JMS message
name - - the name of the object referenced in the JMS message
namespace - - the bsruri of the object referenced in the JMS message
version - - the bsruri of the object referenced in the JMS message
transition - - the transition name for the object referenced in the JMS message
classificationURIs - - the classificationURIs of the object referenced in the JMS message
Throws:
ServiceRegistryGovernanceException
ServiceRegistryException
java.lang.Exception

preExecute

boolean preExecute()
preExecute The function that will be called prior to the execute method of the scheduled task. This is used to determine whether the execute method shoud be called. If the function return true then the execute method will be run otherwise it will not be run.

Returns:
boolean

postExecute

void postExecute()
postExecute The function that will be called when a WSRR scheduled task has completed.



© Copyright IBM Corporation 2006, 2009. All Rights Reserved.