public class TransformerFactoryBean extends AbstractStandardMessageHandlerFactoryBean
logger
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
TransformerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBeUsedDirect(AbstractMessageProducingHandler handler)
Always returns true - any
AbstractMessageProducingHandler can
be used directly. |
protected MessageHandler |
createExpressionEvaluatingHandler(Expression expression) |
protected MessageTransformingHandler |
createHandler(Transformer transformer) |
protected MessageHandler |
createMethodInvokingHandler(Object targetObject,
String targetMethodName)
Subclasses must implement this method to create the MessageHandler.
|
protected Class<? extends MessageHandler> |
getPreCreationHandlerType()
Subclasses can override this to return a more specific type before handler creation.
|
checkForIllegalTarget, createDefaultHandler, createHandler, createMessageProcessingHandler, destroy, getSendTimeout, methodIsHandleMessageOrEmpty, postProcessReplyProducer, setExpression, setExpressionString, setRequiresReply, setSendTimeout, setTargetMethodName, setTargetObject
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName
protected MessageHandler createMethodInvokingHandler(Object targetObject, String targetMethodName)
AbstractStandardMessageHandlerFactoryBean
createMethodInvokingHandler
in class AbstractStandardMessageHandlerFactoryBean
targetObject
- the object to use for method invocation.targetMethodName
- the method name of the target object to invoke.MessageHandler
implementation.protected MessageHandler createExpressionEvaluatingHandler(Expression expression)
createExpressionEvaluatingHandler
in class AbstractStandardMessageHandlerFactoryBean
protected MessageTransformingHandler createHandler(Transformer transformer)
protected boolean canBeUsedDirect(AbstractMessageProducingHandler handler)
AbstractMessageProducingHandler
can
be used directly.canBeUsedDirect
in class AbstractStandardMessageHandlerFactoryBean
protected Class<? extends MessageHandler> getPreCreationHandlerType()
AbstractSimpleMessageHandlerFactoryBean
getPreCreationHandlerType
in class AbstractSimpleMessageHandlerFactoryBean<MessageHandler>