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