org.springframework.integration.config
Class AbstractSimpleMessageHandlerFactoryBean<H extends MessageHandler>
java.lang.Object
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<H>
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<MessageHandler>
- Direct Known Subclasses:
- ExpressionControlBusFactoryBean, FileWritingMessageHandlerFactoryBean, FilterFactoryBean, GroovyControlBusFactoryBean, RouterFactoryBean, ServiceActivatorFactoryBean, SplitterFactoryBean, TransformerFactoryBean
public abstract class AbstractSimpleMessageHandlerFactoryBean<H extends MessageHandler>
- extends java.lang.Object
- implements org.springframework.beans.factory.FactoryBean<MessageHandler>, org.springframework.beans.factory.BeanFactoryAware
- Author:
- Dave Syer, Oleg Zhurakousky, Gary Russell
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(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
- Specified by:
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
setAdviceChain
public void setAdviceChain(java.util.List<org.aopalliance.aop.Advice> adviceChain)
getObject
public H getObject()
throws java.lang.Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean<MessageHandler>
- Throws:
java.lang.Exception
createHandlerInternal
protected final H createHandlerInternal()
createHandler
protected abstract H createHandler()
getObjectType
public java.lang.Class<? extends MessageHandler> getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean<MessageHandler>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean<MessageHandler>