public class ConfigurationDelegatingFactoryBean extends java.lang.Object implements InitializingBean, FactoryBean<Configuration>
Configuration from a StandaloneYarnCluster.| Constructor and Description |
|---|
ConfigurationDelegatingFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Configuration |
getObject() |
java.lang.Class<Configuration> |
getObjectType() |
boolean |
isSingleton() |
void |
setCluster(YarnCluster cluster)
Sets the
StandaloneYarnCluster |
public Configuration getObject() throws java.lang.Exception
getObject in interface FactoryBean<Configuration>java.lang.Exceptionpublic java.lang.Class<Configuration> getObjectType()
getObjectType in interface FactoryBean<Configuration>public boolean isSingleton()
isSingleton in interface FactoryBean<Configuration>public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface InitializingBeanjava.lang.Exceptionpublic void setCluster(YarnCluster cluster)
StandaloneYarnClustercluster - the StandaloneYarnCluster