org.springframework.yarn.integration
Class IntegrationAppmasterServiceClientFactoryBean

java.lang.Object
  extended by org.springframework.yarn.integration.IntegrationAppmasterServiceClientFactoryBean
All Implemented Interfaces:
Aware, BeanFactoryAware, FactoryBean<org.springframework.yarn.am.AppmasterServiceClient>, InitializingBean

public class IntegrationAppmasterServiceClientFactoryBean
extends Object
implements FactoryBean<org.springframework.yarn.am.AppmasterServiceClient>, InitializingBean, BeanFactoryAware

Factory which creates appmaster service clients.

Author:
Janne Valkealahti

Constructor Summary
IntegrationAppmasterServiceClientFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 org.springframework.yarn.am.AppmasterServiceClient getObject()
           
 Class<org.springframework.yarn.am.AppmasterServiceClient> getObjectType()
           
 boolean isSingleton()
           
 void setBeanFactory(BeanFactory beanFactory)
           
 void setRequestChannel(MessageChannel requestChannel)
          Sets the outbount request channel.
 void setResponseChannel(PollableChannel responseChannel)
          Sets the inbound response channel.
 void setServiceImpl(Class<org.springframework.yarn.am.AppmasterServiceClient> serviceImpl)
          Set the class implementing appmaster service client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrationAppmasterServiceClientFactoryBean

public IntegrationAppmasterServiceClientFactoryBean()
Method Detail

getObject

public org.springframework.yarn.am.AppmasterServiceClient getObject()
                                                             throws Exception
Specified by:
getObject in interface FactoryBean<org.springframework.yarn.am.AppmasterServiceClient>
Throws:
Exception

getObjectType

public Class<org.springframework.yarn.am.AppmasterServiceClient> getObjectType()
Specified by:
getObjectType in interface FactoryBean<org.springframework.yarn.am.AppmasterServiceClient>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<org.springframework.yarn.am.AppmasterServiceClient>

afterPropertiesSet

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

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
                    throws BeansException
Specified by:
setBeanFactory in interface BeanFactoryAware
Throws:
BeansException

setServiceImpl

public void setServiceImpl(Class<org.springframework.yarn.am.AppmasterServiceClient> serviceImpl)
Set the class implementing appmaster service client.

Parameters:
serviceImpl - the implementing class

setRequestChannel

public void setRequestChannel(MessageChannel requestChannel)
Sets the outbount request channel.

Parameters:
requestChannel - the request channel

setResponseChannel

public void setResponseChannel(PollableChannel responseChannel)
Sets the inbound response channel.

Parameters:
responseChannel - the response channel