public class SplitterFactoryBean extends AbstractStandardMessageHandlerFactoryBean
logger
Constructor and Description |
---|
SplitterFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBeUsedDirect(AbstractMessageProducingHandler handler) |
protected AbstractMessageSplitter |
configureSplitter(AbstractMessageSplitter splitter) |
protected MessageHandler |
createDefaultHandler() |
protected MessageHandler |
createExpressionEvaluatingHandler(Expression expression) |
protected MessageHandler |
createMethodInvokingHandler(Object targetObject,
String targetMethodName)
Subclasses must implement this method to create the MessageHandler.
|
protected AbstractMessageSplitter |
createMethodInvokingSplitter(Object targetObject,
String targetMethodName) |
protected Class<? extends MessageHandler> |
getPreCreationHandlerType()
Subclasses can override this to return a more specific type before handler creation.
|
boolean |
isRequiresReply() |
protected void |
postProcessReplyProducer(AbstractMessageProducingHandler handler) |
void |
setApplySequence(boolean applySequence) |
void |
setDelimiters(String delimiters) |
void |
setRequiresReply(boolean requiresReply) |
void |
setSendTimeout(Long sendTimeout) |
checkForIllegalTarget, createHandler, createMessageProcessingHandler, extractTypeIfPossible, methodIsHandleMessageOrEmpty, setExpression, setExpressionString, setTargetMethodName, setTargetObject
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel
public void setSendTimeout(Long sendTimeout)
public boolean isRequiresReply()
public void setRequiresReply(boolean requiresReply)
public void setApplySequence(boolean applySequence)
public void setDelimiters(String delimiters)
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 AbstractMessageSplitter createMethodInvokingSplitter(Object targetObject, String targetMethodName)
protected MessageHandler createExpressionEvaluatingHandler(Expression expression)
createExpressionEvaluatingHandler
in class AbstractStandardMessageHandlerFactoryBean
protected MessageHandler createDefaultHandler()
createDefaultHandler
in class AbstractStandardMessageHandlerFactoryBean
protected AbstractMessageSplitter configureSplitter(AbstractMessageSplitter splitter)
protected boolean canBeUsedDirect(AbstractMessageProducingHandler handler)
canBeUsedDirect
in class AbstractStandardMessageHandlerFactoryBean
protected void postProcessReplyProducer(AbstractMessageProducingHandler handler)
postProcessReplyProducer
in class AbstractStandardMessageHandlerFactoryBean
protected Class<? extends MessageHandler> getPreCreationHandlerType()
AbstractSimpleMessageHandlerFactoryBean
getPreCreationHandlerType
in class AbstractSimpleMessageHandlerFactoryBean<MessageHandler>