Spring Integration

org.springframework.integration.config
Class TransformerFactoryBean

java.lang.Object
  extended by 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

Constructor Summary
TransformerFactoryBean()
           
 
Method Summary
protected  BeanFactory getBeanFactory()
           
 MessageHandler getObject()
           
 Class<? extends MessageHandler> getObjectType()
           
 boolean isSingleton()
           
 void setBeanFactory(BeanFactory beanFactory)
           
 void setExpression(String expression)
           
 void setOrder(Integer order)
           
 void setOutputChannel(MessageChannel outputChannel)
           
 void setSendTimeout(Long sendTimeout)
           
 void setTargetMethodName(String targetMethodName)
           
 void setTargetObject(Object targetObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformerFactoryBean

public TransformerFactoryBean()
Method Detail

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>

Spring Integration

Copyright © 2010. All Rights Reserved.