org.springframework.integration.config
Class TransformerFactoryBean
java.lang.Object
org.springframework.integration.config.TransformerFactoryBean
- All Implemented Interfaces:
- BeanFactoryAware, FactoryBean<MessageHandler>
public class TransformerFactoryBean
- extends Object
Factory bean for creating a Message Transformer.
- Author:
- Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformerFactoryBean
public TransformerFactoryBean()
setSendTimeout
public void setSendTimeout(Long sendTimeout)
setTargetObject
public void setTargetObject(Object targetObject)
setTargetMethodName
public void setTargetMethodName(String targetMethodName)
setExpression
public void setExpression(String expression)
setOutputChannel
public void setOutputChannel(MessageChannel outputChannel)
setOrder
public void setOrder(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 Exception
- Specified by:
getObject
in interface FactoryBean<MessageHandler>
- Throws:
Exception
getObjectType
public Class<? extends MessageHandler> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<MessageHandler>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<MessageHandler>
Copyright © 2010. All Rights Reserved.