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