edu.ntnu.cikmr.arbitration
Class WaitWorkflow

java.lang.Object
  extended by edu.ntnu.cikmr.arbitration.WaitWorkflow
All Implemented Interfaces:
SchedulerListener, WorkflowLifecycleListener, java.util.EventListener

public class WaitWorkflow
extends java.lang.Object
implements WorkflowLifecycleListener, SchedulerListener


Constructor Summary
WaitWorkflow()
           
 
Method Summary
 Workflow getLocalWorkflow()
           
 Workflow getWaitWorkflow()
           
static void waitOnRemoteWorkflow(Workflow localWorkflow, java.lang.String remoteWorkflowPipeID)
           
 void workflowAdded(WorkflowEvent e)
           
 void workflowExecutionMoved(WorkflowEvent e)
           
 void workflowFinished(WorkflowEvent e)
           
 void workflowParticipantsChanged(WorkflowEvent e)
           
 void workflowRemoved(WorkflowEvent e)
           
 void workflowStarted(WorkflowEvent e)
           
 void workflowStopped(WorkflowEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaitWorkflow

public WaitWorkflow()
Method Detail

getLocalWorkflow

public Workflow getLocalWorkflow()

getWaitWorkflow

public Workflow getWaitWorkflow()

workflowStarted

public void workflowStarted(WorkflowEvent e)
Specified by:
workflowStarted in interface WorkflowLifecycleListener

workflowStopped

public void workflowStopped(WorkflowEvent e)
Specified by:
workflowStopped in interface WorkflowLifecycleListener

workflowFinished

public void workflowFinished(WorkflowEvent e)
Specified by:
workflowFinished in interface WorkflowLifecycleListener

workflowExecutionMoved

public void workflowExecutionMoved(WorkflowEvent e)
Specified by:
workflowExecutionMoved in interface WorkflowLifecycleListener

workflowParticipantsChanged

public void workflowParticipantsChanged(WorkflowEvent e)
Specified by:
workflowParticipantsChanged in interface WorkflowLifecycleListener

workflowAdded

public void workflowAdded(WorkflowEvent e)
Specified by:
workflowAdded in interface SchedulerListener

workflowRemoved

public void workflowRemoved(WorkflowEvent e)
Specified by:
workflowRemoved in interface SchedulerListener

waitOnRemoteWorkflow

public static void waitOnRemoteWorkflow(Workflow localWorkflow,
                                        java.lang.String remoteWorkflowPipeID)