|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.launch.LaunchCommandsFactoryBean
public class LaunchCommandsFactoryBean
Factory bean helping to construct a command meant to start application master or a container.
| Constructor Summary | |
|---|---|
LaunchCommandsFactoryBean()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LaunchCommandsFactoryBean()
| Method Detail |
|---|
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||