|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.yarn.integration.IntegrationAppmasterServiceFactoryBean
public class IntegrationAppmasterServiceFactoryBean
Bean factory for building AppmasterService
instances
supported by this module.
Constructor Summary | |
---|---|
IntegrationAppmasterServiceFactoryBean()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegrationAppmasterServiceFactoryBean()
Method Detail |
---|
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
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |