|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
|
java.lang.String[] |
getObject()
|
java.lang.Class<java.lang.String[]> |
getObjectType()
|
boolean |
isSingleton()
|
void |
setArguments(java.util.Properties arguments)
Sets the arguments. |
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. |
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 java.lang.String[] getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<java.lang.String[]>
java.lang.Exception
public 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.InitializingBean
java.lang.Exception
public 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 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
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |