org.springframework.integration.config
Class AbstractSimpleMessageHandlerFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
- All Implemented Interfaces:
- BeanFactoryAware, FactoryBean<MessageHandler>
- Direct Known Subclasses:
- ExpressionControlBusFactoryBean, FilterFactoryBean, GroovyControlBusFactoryBean, RouterFactoryBean, ServiceActivatorFactoryBean, SplitterFactoryBean, TransformerFactoryBean
public abstract class AbstractSimpleMessageHandlerFactoryBean
- extends java.lang.Object
- implements FactoryBean<MessageHandler>, BeanFactoryAware
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSimpleMessageHandlerFactoryBean
public AbstractSimpleMessageHandlerFactoryBean()
setOutputChannel
public void setOutputChannel(MessageChannel outputChannel)
setOrder
public void setOrder(java.lang.Integer order)
setBeanFactory
public void setBeanFactory(BeanFactory beanFactory)
throws BeansException
- Specified by:
setBeanFactory
in interface BeanFactoryAware
- Throws:
BeansException
getBeanFactory
protected BeanFactory getBeanFactory()
getObject
public MessageHandler getObject()
throws java.lang.Exception
- Specified by:
getObject
in interface FactoryBean<MessageHandler>
- Throws:
java.lang.Exception
createHandlerInternal
protected final MessageHandler createHandlerInternal()
createHandler
protected abstract MessageHandler createHandler()
getObjectType
public java.lang.Class<? extends MessageHandler> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<MessageHandler>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<MessageHandler>