public class SourcePollingChannelAdapterFactoryBean extends Object implements FactoryBean<SourcePollingChannelAdapter>, BeanFactoryAware, BeanNameAware, BeanClassLoaderAware, InitializingBean, SmartLifecycle
Constructor and Description |
---|
SourcePollingChannelAdapterFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
SourcePollingChannelAdapter |
getObject() |
Class<?> |
getObjectType() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
boolean |
isSingleton() |
void |
setAutoStartup(boolean autoStartup) |
void |
setBeanClassLoader(ClassLoader classLoader) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setBeanName(String beanName) |
void |
setOutputChannel(MessageChannel outputChannel) |
void |
setOutputChannelName(String outputChannelName) |
void |
setPhase(int phase) |
void |
setPollerMetadata(PollerMetadata pollerMetadata) |
void |
setSendTimeout(long sendTimeout) |
void |
setSource(MessageSource<?> source) |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public SourcePollingChannelAdapterFactoryBean()
public void setSource(MessageSource<?> source)
public void setSendTimeout(long sendTimeout)
public void setOutputChannel(MessageChannel outputChannel)
public void setOutputChannelName(String outputChannelName)
public void setPollerMetadata(PollerMetadata pollerMetadata)
public void setAutoStartup(boolean autoStartup)
public void setPhase(int phase)
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface BeanClassLoaderAware
public void setBeanName(String beanName)
setBeanName
in interface BeanNameAware
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public SourcePollingChannelAdapter getObject() throws Exception
getObject
in interface FactoryBean<SourcePollingChannelAdapter>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<SourcePollingChannelAdapter>
public boolean isSingleton()
isSingleton
in interface FactoryBean<SourcePollingChannelAdapter>
public boolean isAutoStartup()
isAutoStartup
in interface SmartLifecycle
public void stop(Runnable callback)
stop
in interface SmartLifecycle