public class HadoopClusterDelegatingFactoryBean extends Object implements InitializingBean, DisposableBean, FactoryBean<HadoopCluster>
HadoopClusterManager for handling lifecycle
 of HadoopCluster. This is needed order to clear and shutdown
 cluster during the application context refresh if
 DirtiesContext is used.| Constructor and Description | 
|---|
| HadoopClusterDelegatingFactoryBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| void | destroy() | 
| HadoopCluster | getObject() | 
| Class<HadoopCluster> | getObjectType() | 
| boolean | isSingleton() | 
| void | setId(String id) | 
| void | setNodes(int nodes) | 
public HadoopCluster getObject() throws Exception
getObject in interface FactoryBean<HadoopCluster>Exceptionpublic Class<HadoopCluster> getObjectType()
getObjectType in interface FactoryBean<HadoopCluster>public boolean isSingleton()
isSingleton in interface FactoryBean<HadoopCluster>public void afterPropertiesSet()
                        throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void destroy()
             throws Exception
destroy in interface DisposableBeanExceptionpublic void setId(String id)
public void setNodes(int nodes)