org.apache.geronimo.commands
Class ProcessLauncher
java.lang.Object
org.apache.geronimo.commands.ProcessLauncher
public class ProcessLauncher
- extends Object
Helper to execute a process and perform some verification logic to determine if the process is up or not.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessLauncher
public ProcessLauncher()
getIo
public org.apache.geronimo.gshell.command.IO getIo()
setIo
public void setIo(org.apache.geronimo.gshell.command.IO value)
getName
public String getName()
setName
public void setName(String value)
getProcess
public groovy.lang.Closure getProcess()
setProcess
public void setProcess(groovy.lang.Closure value)
getVerifier
public groovy.lang.Closure getVerifier()
setVerifier
public void setVerifier(groovy.lang.Closure value)
getVerifyWaitDelay
public int getVerifyWaitDelay()
setVerifyWaitDelay
public void setVerifyWaitDelay(int value)
getTimeout
public int getTimeout()
setTimeout
public void setTimeout(int value)
getBackground
public boolean getBackground()
isBackground
public boolean isBackground()
setBackground
public void setBackground(boolean value)
launch
public Object launch()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
invokeMethod
public Object invokeMethod(String name,
Object args)
getProperty
public Object getProperty(String name)
setProperty
public void setProperty(String name,
Object value)
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.