Class SplitterFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
org.springframework.integration.config.AbstractStandardMessageHandlerFactoryBean
org.springframework.integration.config.SplitterFactoryBean
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,BeanNameAware
,DisposableBean
,FactoryBean<MessageHandler>
,ApplicationContextAware
,ApplicationEventPublisherAware
Factory bean for creating a Message Splitter.
- Author:
- Mark Fisher, Iwein Fuld, Gary Russell, David Liu, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected AbstractMessageSplitter
configureSplitter
(AbstractMessageSplitter splitter) protected MessageHandler
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>
Subclasses can override this to return a more specific type before handler creation.protected void
void
setApplySequence
(boolean applySequence) void
setDelimiters
(String delimiters) void
setDiscardChannel
(MessageChannel discardChannel) void
setDiscardChannelName
(String discardChannelName) Methods inherited from class org.springframework.integration.config.AbstractStandardMessageHandlerFactoryBean
checkForIllegalTarget, createHandler, createMessageProcessingHandler, destroy, getSendTimeout, methodIsHandleMessageOrEmpty, setExpression, setExpressionString, setRequiresReply, setSendTimeout, setTargetMethodName, setTargetObject
Methods inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName
-
Constructor Details
-
SplitterFactoryBean
public SplitterFactoryBean()
-
-
Method Details
-
setApplySequence
public void setApplySequence(boolean applySequence) -
setDelimiters
-
setDiscardChannel
-
setDiscardChannelName
-
createMethodInvokingHandler
Description copied from class:AbstractStandardMessageHandlerFactoryBean
Subclasses must implement this method to create the MessageHandler.- Specified by:
createMethodInvokingHandler
in classAbstractStandardMessageHandlerFactoryBean
- Parameters:
targetObject
- the object to use for method invocation.targetMethodName
- the method name of the target object to invoke.- Returns:
- the method invoking
MessageHandler
implementation.
-
createMethodInvokingSplitter
protected AbstractMessageSplitter createMethodInvokingSplitter(Object targetObject, String targetMethodName) -
createExpressionEvaluatingHandler
- Overrides:
createExpressionEvaluatingHandler
in classAbstractStandardMessageHandlerFactoryBean
-
createDefaultHandler
- Overrides:
createDefaultHandler
in classAbstractStandardMessageHandlerFactoryBean
-
configureSplitter
-
canBeUsedDirect
- Overrides:
canBeUsedDirect
in classAbstractStandardMessageHandlerFactoryBean
-
postProcessReplyProducer
- Overrides:
postProcessReplyProducer
in classAbstractStandardMessageHandlerFactoryBean
-
getPreCreationHandlerType
Description copied from class:AbstractSimpleMessageHandlerFactoryBean
Subclasses can override this to return a more specific type before handler creation. After handler creation, the actual type is used.- Overrides:
getPreCreationHandlerType
in classAbstractSimpleMessageHandlerFactoryBean<MessageHandler>
- Returns:
- the type.
-