public class MainRunner extends Object implements org.springframework.beans.factory.InitializingBean, Runnable
Constructor and Description |
---|
MainRunner() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String[] |
getArgs() |
long |
getDelay() |
Class<?> |
getMain() |
boolean |
isAsyncRun() |
void |
run() |
void |
runMethodWithoutCatchingExceptions() |
void |
setArgs(String[] args) |
void |
setAsyncRun(boolean asyncRun) |
void |
setDelay(long delay) |
void |
setMain(Class<?> main) |
String |
toString() |
public MainRunner()
public void runMethodWithoutCatchingExceptions() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException
public boolean isAsyncRun()
public void setAsyncRun(boolean asyncRun)
public long getDelay()
public void setDelay(long delay)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
Apache Camel