com.ibm.serviceregistry
Interface ServiceRegistryMessageTask2

All Superinterfaces:
ServiceRegistryPlugin

public interface ServiceRegistryMessageTask2
extends ServiceRegistryPlugin


Field Summary
static java.lang.String copyrightStatement
           
 
Method Summary
 void execute(java.util.HashMap<java.lang.String,java.lang.String> properties)
          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.util.HashMap<java.lang.String,java.lang.String> properties)
             throws ServiceRegistryGovernanceException,
                    ServiceRegistryException,
                    java.lang.Exception
execute The function that will be called when a WSRR scheduled task is run.

Parameters:
properties - - properties 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.