org.springframework.integration.config
Class ConsumerEndpointFactoryBean

java.lang.Object
  extended by org.springframework.integration.config.ConsumerEndpointFactoryBean
All Implemented Interfaces:
java.util.EventListener, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationListener, org.springframework.context.Lifecycle

public class ConsumerEndpointFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.Lifecycle, org.springframework.context.ApplicationListener

Author:
Mark Fisher

Constructor Summary
ConsumerEndpointFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 java.lang.Object getObject()
           
 java.lang.Class<?> getObjectType()
           
 boolean isRunning()
           
 boolean isSingleton()
           
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
           
 void setAutoStartup(boolean autoStartup)
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setBeanName(java.lang.String beanName)
           
 void setHandler(MessageHandler handler)
           
 void setInputChannelName(java.lang.String inputChannelName)
           
 void setPollerMetadata(PollerMetadata pollerMetadata)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsumerEndpointFactoryBean

public ConsumerEndpointFactoryBean()
Method Detail

setHandler

public void setHandler(MessageHandler handler)

setInputChannelName

public void setInputChannelName(java.lang.String inputChannelName)

setPollerMetadata

public void setPollerMetadata(PollerMetadata pollerMetadata)

setAutoStartup

public void setAutoStartup(boolean autoStartup)

setBeanName

public void setBeanName(java.lang.String beanName)
Specified by:
setBeanName in interface org.springframework.beans.factory.BeanNameAware

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isRunning

public boolean isRunning()
Specified by:
isRunning in interface org.springframework.context.Lifecycle

start

public void start()
Specified by:
start in interface org.springframework.context.Lifecycle

stop

public void stop()
Specified by:
stop in interface org.springframework.context.Lifecycle

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener