org.springframework.yarn.test.support
Class ConfigurationDelegatingFactoryBean
java.lang.Object
org.springframework.yarn.test.support.ConfigurationDelegatingFactoryBean
- All Implemented Interfaces:
- FactoryBean<Configuration>, InitializingBean
public class ConfigurationDelegatingFactoryBean
- extends Object
- implements InitializingBean, FactoryBean<Configuration>
Simple factory bean delegating retrieval of
hadoop Configuration from a StandaloneYarnCluster.
- Author:
- Janne Valkealahti
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationDelegatingFactoryBean
public ConfigurationDelegatingFactoryBean()
getObject
public Configuration getObject()
throws Exception
- Specified by:
getObject in interface FactoryBean<Configuration>
- Throws:
Exception
getObjectType
public Class<Configuration> getObjectType()
- Specified by:
getObjectType in interface FactoryBean<Configuration>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface FactoryBean<Configuration>
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface InitializingBean
- Throws:
Exception
setCluster
public void setCluster(YarnCluster cluster)
- Sets the
StandaloneYarnCluster
- Parameters:
cluster - the StandaloneYarnCluster