public class LaunchCommandsFactoryBean extends Object implements InitializingBean, FactoryBean<String[]>
| Constructor and Description |
|---|
LaunchCommandsFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
String[] |
getObject() |
Class<String[]> |
getObjectType() |
boolean |
isSingleton() |
void |
setArguments(Properties arguments)
Sets the arguments.
|
void |
setBeanName(String beanName)
Sets the bean name.
|
void |
setCommand(String command)
Sets the main command.
|
void |
setContextFile(String contextFile)
Sets the context file.
|
void |
setJarFile(String jarFile)
Sets the jar file name.
|
void |
setOptions(List<String> options)
Sets the options.
|
void |
setRunner(Class<?> runner)
Sets the runner class.
|
void |
setRunnerClass(String runnerClass)
Sets the runner class.
|
void |
setStderr(String stderr)
Sets the stderr.
|
void |
setStdout(String stdout)
Sets the stdout.
|
public String[] getObject() throws Exception
getObject in interface FactoryBean<String[]>Exceptionpublic Class<String[]> getObjectType()
getObjectType in interface FactoryBean<String[]>public boolean isSingleton()
isSingleton in interface FactoryBean<String[]>public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void setCommand(String command)
command - the new commandpublic void setRunner(Class<?> runner)
runner - the new runner classpublic void setRunnerClass(String runnerClass)
runnerClass - the new runner classpublic void setJarFile(String jarFile)
jarFile - the new jar filepublic void setContextFile(String contextFile)
contextFile - the new context filepublic void setBeanName(String beanName)
beanName - the new bean namepublic void setArguments(Properties arguments)
arguments - the new argumentspublic void setOptions(List<String> options)
options - the new optionspublic void setStdout(String stdout)
stdout - the new stdoutpublic void setStderr(String stderr)
stderr - the new stderr