Spring for Apache Hadoop

org.springframework.yarn.integration
Class IntegrationAppmasterServiceClientFactoryBean

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

public class IntegrationAppmasterServiceClientFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<AppmasterServiceClient>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanFactoryAware

Factory which creates appmaster service clients.

Author:
Janne Valkealahti

Constructor Summary
IntegrationAppmasterServiceClientFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 AppmasterServiceClient getObject()
           
 java.lang.Class<AppmasterServiceClient> getObjectType()
           
 boolean isSingleton()
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setRequestChannel(org.springframework.messaging.MessageChannel requestChannel)
          Sets the outbount request channel.
 void setResponseChannel(org.springframework.messaging.PollableChannel responseChannel)
          Sets the inbound response channel.
 void setServiceImpl(java.lang.Class<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 AppmasterServiceClient getObject()
                                 throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<AppmasterServiceClient>
Throws:
java.lang.Exception

getObjectType

public java.lang.Class<AppmasterServiceClient> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<AppmasterServiceClient>

isSingleton

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

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException

setServiceImpl

public void setServiceImpl(java.lang.Class<AppmasterServiceClient> serviceImpl)
Set the class implementing appmaster service client.

Parameters:
serviceImpl - the implementing class

setRequestChannel

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

Parameters:
requestChannel - the request channel

setResponseChannel

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

Parameters:
responseChannel - the response channel

Spring for Apache Hadoop