org.mule.tck.listener
Class FlowExecutionListener

java.lang.Object
  extended by org.mule.tck.listener.FlowExecutionListener

public class FlowExecutionListener
extends Object

Listener for flow execution complete action.


Constructor Summary
FlowExecutionListener(MuleContext muleContext)
          Constructor for releasing latch when any flow execution completes
FlowExecutionListener(String flowName, MuleContext muleContext)
          Constructor for releasing latch when flow with name flowName completes
 
Method Summary
 FlowExecutionListener setNumberOfExecutionsRequired(int numberOfExecutionsRequired)
           
 FlowExecutionListener setTimeoutInMillis(int timeout)
           
 void waitUntilFlowIsComplete()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowExecutionListener

public FlowExecutionListener(MuleContext muleContext)
Constructor for releasing latch when any flow execution completes


FlowExecutionListener

public FlowExecutionListener(String flowName,
                             MuleContext muleContext)
Constructor for releasing latch when flow with name flowName completes

Method Detail

waitUntilFlowIsComplete

public void waitUntilFlowIsComplete()

setNumberOfExecutionsRequired

public FlowExecutionListener setNumberOfExecutionsRequired(int numberOfExecutionsRequired)
Parameters:
numberOfExecutionsRequired - number of times that the listener must be notified before releasing the latch.

setTimeoutInMillis

public FlowExecutionListener setTimeoutInMillis(int timeout)


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.