com.groiss.wfxml
Interface ProcessInstanceObserver


public interface ProcessInstanceObserver

Implement this interface if you want to observe a process instance that you create with a CreateProcessInstance message (CreatePIMessage). You will receive all NotifyMessage and PIStateChangedMessage messages that are sent from the process instance that you observe.


Method Summary
 WfXMLMessage messageArrived(WfXMLMessage message)
          This method is invoked on observers, when a WfXML message arrives for them.
 

Method Detail

messageArrived

WfXMLMessage messageArrived(WfXMLMessage message)
This method is invoked on observers, when a WfXML message arrives for them.

Parameters:
message - The WfXMLmessage that has arrived is passed on as parameter. Use the message's getter methods to get information out of the message.
Returns:
Create a response message and return it. If you don't want to return a response, simply return null.


Copyright © 2001-2006 Groiss Informatics GmbH. All Rights Reserved.