Spring Integration

org.springframework.integration.config
Class SourcePollingChannelAdapterFactoryBean

java.lang.Object
  extended by org.springframework.integration.config.SourcePollingChannelAdapterFactoryBean
All Implemented Interfaces:
BeanClassLoaderAware, BeanFactoryAware, BeanNameAware, FactoryBean<SourcePollingChannelAdapter>, InitializingBean, Lifecycle, Phased, SmartLifecycle

public class SourcePollingChannelAdapterFactoryBean
extends Object
implements FactoryBean<SourcePollingChannelAdapter>, BeanFactoryAware, BeanNameAware, BeanClassLoaderAware, InitializingBean, SmartLifecycle

FactoryBean for creating a SourcePollingChannelAdapter instance.

Author:
Mark Fisher

Constructor Summary
SourcePollingChannelAdapterFactoryBean()
           
 
Method Summary
 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 setPollerMetadata(PollerMetadata pollerMetadata)
           
 void setSource(MessageSource<?> source)
           
 void start()
           
 void stop()
           
 void stop(Runnable callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourcePollingChannelAdapterFactoryBean

public SourcePollingChannelAdapterFactoryBean()
Method Detail

setSource

public void setSource(MessageSource<?> source)

setOutputChannel

public void setOutputChannel(MessageChannel outputChannel)

setPollerMetadata

public void setPollerMetadata(PollerMetadata pollerMetadata)

setAutoStartup

public void setAutoStartup(boolean autoStartup)

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
Specified by:
setBeanFactory in interface BeanFactoryAware

setBeanClassLoader

public void setBeanClassLoader(ClassLoader classLoader)
Specified by:
setBeanClassLoader in interface BeanClassLoaderAware

setBeanName

public void setBeanName(String beanName)
Specified by:
setBeanName in interface BeanNameAware

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

getObject

public SourcePollingChannelAdapter getObject()
                                      throws Exception
Specified by:
getObject in interface FactoryBean<SourcePollingChannelAdapter>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean<SourcePollingChannelAdapter>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<SourcePollingChannelAdapter>

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

Spring Integration

Copyright © 2010. All Rights Reserved.