public class IntegrationAppmasterServiceClientFactoryBean extends Object implements FactoryBean<org.springframework.yarn.am.AppmasterServiceClient>, InitializingBean, BeanFactoryAware
| Constructor and Description |
|---|
IntegrationAppmasterServiceClientFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public IntegrationAppmasterServiceClientFactoryBean()
public org.springframework.yarn.am.AppmasterServiceClient getObject()
throws Exception
getObject in interface FactoryBean<org.springframework.yarn.am.AppmasterServiceClient>Exceptionpublic Class<org.springframework.yarn.am.AppmasterServiceClient> getObjectType()
getObjectType in interface FactoryBean<org.springframework.yarn.am.AppmasterServiceClient>public boolean isSingleton()
isSingleton in interface FactoryBean<org.springframework.yarn.am.AppmasterServiceClient>public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory in interface BeanFactoryAwareBeansExceptionpublic void setServiceImpl(Class<org.springframework.yarn.am.AppmasterServiceClient> serviceImpl)
serviceImpl - the implementing classpublic void setRequestChannel(MessageChannel requestChannel)
requestChannel - the request channelpublic void setResponseChannel(PollableChannel responseChannel)
responseChannel - the response channel