public class ConsumerEndpointFactoryBean extends Object implements FactoryBean<AbstractEndpoint>, BeanFactoryAware, BeanNameAware, BeanClassLoaderAware, InitializingBean, SmartLifecycle
| Constructor and Description |
|---|
ConsumerEndpointFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
AbstractEndpoint |
getObject() |
Class<?> |
getObjectType() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
boolean |
isSingleton() |
void |
setAdviceChain(List<org.aopalliance.aop.Advice> adviceChain) |
void |
setAutoStartup(boolean autoStartup) |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setBeanName(String beanName) |
void |
setChannelResolver(DestinationResolver<MessageChannel> channelResolver)
Specify the
DestinationResolver strategy to use. |
void |
setHandler(MessageHandler handler) |
void |
setInputChannel(MessageChannel inputChannel) |
void |
setInputChannelName(String inputChannelName) |
void |
setPhase(int phase) |
void |
setPollerMetadata(PollerMetadata pollerMetadata) |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public void setHandler(MessageHandler handler)
public void setInputChannel(MessageChannel inputChannel)
public void setInputChannelName(String inputChannelName)
public void setPollerMetadata(PollerMetadata pollerMetadata)
public void setChannelResolver(DestinationResolver<MessageChannel> channelResolver)
DestinationResolver strategy to use.
The default is a BeanFactoryChannelResolver.channelResolver - The channel resolver.public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface BeanClassLoaderAwarepublic void setAutoStartup(boolean autoStartup)
public void setPhase(int phase)
public void setBeanName(String beanName)
setBeanName in interface BeanNameAwarepublic void setBeanFactory(BeanFactory beanFactory)
setBeanFactory in interface BeanFactoryAwarepublic void setAdviceChain(List<org.aopalliance.aop.Advice> adviceChain)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic boolean isSingleton()
isSingleton in interface FactoryBean<AbstractEndpoint>public AbstractEndpoint getObject() throws Exception
getObject in interface FactoryBean<AbstractEndpoint>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<AbstractEndpoint>public boolean isAutoStartup()
isAutoStartup in interface SmartLifecyclepublic void stop(Runnable callback)
stop in interface SmartLifecycle