org.springframework.integration.config
Class ConsumerEndpointFactoryBean
java.lang.Object
org.springframework.integration.config.ConsumerEndpointFactoryBean
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, FactoryBean<AbstractEndpoint>, InitializingBean, Lifecycle, Phased, SmartLifecycle
public class ConsumerEndpointFactoryBean
- extends Object
- implements FactoryBean<AbstractEndpoint>, BeanFactoryAware, BeanNameAware, InitializingBean, SmartLifecycle
- Author:
- Mark Fisher, Oleg Zhurakousky, Josh Long
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsumerEndpointFactoryBean
public ConsumerEndpointFactoryBean()
setHandler
public void setHandler(MessageHandler handler)
setInputChannel
public void setInputChannel(MessageChannel inputChannel)
setInputChannelName
public void setInputChannelName(String inputChannelName)
setPollerMetadata
public void setPollerMetadata(PollerMetadata pollerMetadata)
setAutoStartup
public void setAutoStartup(boolean autoStartup)
setBeanName
public void setBeanName(String beanName)
- Specified by:
setBeanName
in interface BeanNameAware
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory)
- Specified by:
setBeanFactory
in interface BeanFactoryAware
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<AbstractEndpoint>
getObject
public AbstractEndpoint getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean<AbstractEndpoint>
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<AbstractEndpoint>
isAutoStartup
public boolean isAutoStartup()
- Specified by:
isAutoStartup
in interface SmartLifecycle
getPhase
public int getPhase()
- Specified by:
getPhase
in interface Phased
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface Lifecycle
start
public void start()
- Specified by:
start
in interface Lifecycle
stop
public void stop()
- Specified by:
stop
in interface Lifecycle
stop
public void stop(Runnable callback)
- Specified by:
stop
in interface SmartLifecycle
Copyright © 2010. All Rights Reserved.