org.springframework.data.hadoop.cascading
Class CascadeFactoryBean

java.lang.Object
  extended by org.springframework.data.hadoop.cascading.CascadeFactoryBean
All Implemented Interfaces:
BeanNameAware, FactoryBean<Cascade>, InitializingBean

public class CascadeFactoryBean
extends Object
implements InitializingBean, BeanNameAware, FactoryBean<Cascade>

Factory for declarative Cascade creation. The cascade is initialized but not started.

Author:
Costin Leau

Constructor Summary
CascadeFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 Cascade getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setBeanName(String name)
           
 void setConfiguration(Configuration configuration)
          Sets the configuration.
 void setFlows(Collection<Flow> flows)
          Sets the flows.
 void setProperties(Properties properties)
          Sets the properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CascadeFactoryBean

public CascadeFactoryBean()
Method Detail

getObject

public Cascade getObject()
                  throws Exception
Specified by:
getObject in interface FactoryBean<Cascade>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<Cascade>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<Cascade>

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

setConfiguration

public void setConfiguration(Configuration configuration)
Sets the configuration.

Parameters:
configuration - the new configuration

setProperties

public void setProperties(Properties properties)
Sets the properties.

Parameters:
properties - the new properties

setBeanName

public void setBeanName(String name)
Specified by:
setBeanName in interface BeanNameAware

setFlows

public void setFlows(Collection<Flow> flows)
Sets the flows.

Parameters:
flows - The flows to set.