public class IntegrationAppmasterServiceFactoryBean extends java.lang.Object implements FactoryBean<org.springframework.yarn.am.AppmasterService>, InitializingBean, DisposableBean, BeanFactoryAware
AppmasterService instances
supported by this module.| Constructor and Description |
|---|
IntegrationAppmasterServiceFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
org.springframework.yarn.am.AppmasterService |
getObject() |
java.lang.Class<org.springframework.yarn.am.AppmasterService> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setChannel(SubscribableChannel messageChannel)
Sets the message channel for service dispatching.
|
void |
setServiceImpl(java.lang.Class<org.springframework.yarn.am.AppmasterService> serviceImpl)
Set the class implementing appmaster service.
|
void |
setServiceRef(IntegrationAppmasterService<?> serviceRef)
Sets the appmaster service as an instance.
|
void |
setSocketSupport(PortExposingTcpSocketSupport socketSupport)
Sets the socket support to be used to get
port info from a server socket.
|
public IntegrationAppmasterServiceFactoryBean()
public org.springframework.yarn.am.AppmasterService getObject()
throws java.lang.Exception
getObject in interface FactoryBean<org.springframework.yarn.am.AppmasterService>java.lang.Exceptionpublic java.lang.Class<org.springframework.yarn.am.AppmasterService> getObjectType()
getObjectType in interface FactoryBean<org.springframework.yarn.am.AppmasterService>public boolean isSingleton()
isSingleton in interface FactoryBean<org.springframework.yarn.am.AppmasterService>public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface InitializingBeanjava.lang.Exceptionpublic void destroy()
throws java.lang.Exception
destroy in interface DisposableBeanjava.lang.Exceptionpublic void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory in interface BeanFactoryAwareBeansExceptionpublic void setChannel(SubscribableChannel messageChannel)
messageChannel - the message channelpublic void setSocketSupport(PortExposingTcpSocketSupport socketSupport)
socketSupport - the socket supportpublic void setServiceImpl(java.lang.Class<org.springframework.yarn.am.AppmasterService> serviceImpl)
serviceImpl - the implementing classpublic void setServiceRef(IntegrationAppmasterService<?> serviceRef)
serviceRef - the service instance