public class IntegrationAppmasterServiceFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<AppmasterService>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.BeanFactoryAware
AppmasterService
instances
supported by this module.Constructor and Description |
---|
IntegrationAppmasterServiceFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
AppmasterService |
getObject() |
java.lang.Class<AppmasterService> |
getObjectType() |
boolean |
isSingleton() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setChannel(org.springframework.messaging.SubscribableChannel messageChannel)
Sets the message channel for service dispatching.
|
void |
setServiceImpl(java.lang.Class<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 AppmasterService getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<AppmasterService>
java.lang.Exception
public java.lang.Class<AppmasterService> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<AppmasterService>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<AppmasterService>
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
java.lang.Exception
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public void setChannel(org.springframework.messaging.SubscribableChannel messageChannel)
messageChannel
- the message channelpublic void setSocketSupport(PortExposingTcpSocketSupport socketSupport)
socketSupport
- the socket supportpublic void setServiceImpl(java.lang.Class<AppmasterService> serviceImpl)
serviceImpl
- the implementing classpublic void setServiceRef(IntegrationAppmasterService<?> serviceRef)
serviceRef
- the service instance