org.mule.test.infrastructure.process
Class TestProcess

java.lang.Object
  extended by org.mule.test.infrastructure.process.TestProcess
All Implemented Interfaces:
CommandServer.CommandListener

public class TestProcess
extends Object
implements CommandServer.CommandListener


Constructor Summary
TestProcess(String instanceId, int loggerServerPort, int commandServerPort)
           
 
Method Summary
 void commandReceived(String command)
           
 void destroyQuietly()
           
 void setProcess(Process process)
           
 void waitUntilStarted()
           
 void waitUntilStarted(int contextStartedTiemout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestProcess

public TestProcess(String instanceId,
                   int loggerServerPort,
                   int commandServerPort)
Method Detail

destroyQuietly

public void destroyQuietly()

commandReceived

public void commandReceived(String command)
Specified by:
commandReceived in interface CommandServer.CommandListener

waitUntilStarted

public void waitUntilStarted()
                      throws InterruptedException
Throws:
InterruptedException

waitUntilStarted

public void waitUntilStarted(int contextStartedTiemout)
                      throws InterruptedException
Throws:
InterruptedException

setProcess

public void setProcess(Process process)


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