public class FilterFactoryBean extends AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
logger
Constructor and Description |
---|
FilterFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBeUsedDirect(AbstractMessageProducingHandler handler)
MessageFilter is an ARPMH.
|
protected void |
checkForIllegalTarget(Object targetObject,
String targetMethodName) |
protected MessageHandler |
createHandler() |
protected Class<? extends MessageHandler> |
getPreCreationHandlerType()
Subclasses can override this to return a more specific type before handler creation.
|
protected boolean |
methodIsHandleMessageOrEmpty(String targetMethodName) |
protected void |
postProcessReplyProducer(AbstractMessageProducingHandler handler) |
void |
setDiscardChannel(MessageChannel discardChannel) |
void |
setDiscardWithinAdvice(boolean discardWithinAdvice) |
void |
setExpression(Expression expression) |
void |
setExpressionString(String expressionString) |
void |
setSendTimeout(Long sendTimeout) |
void |
setTargetMethodName(String targetMethodName) |
void |
setTargetObject(Object targetObject) |
void |
setThrowExceptionOnRejection(Boolean throwExceptionOnRejection) |
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel
public void setDiscardChannel(MessageChannel discardChannel)
public void setThrowExceptionOnRejection(Boolean throwExceptionOnRejection)
public void setSendTimeout(Long sendTimeout)
public void setDiscardWithinAdvice(boolean discardWithinAdvice)
protected void checkForIllegalTarget(Object targetObject, String targetMethodName)
protected void postProcessReplyProducer(AbstractMessageProducingHandler handler)
protected boolean canBeUsedDirect(AbstractMessageProducingHandler handler)
protected Class<? extends MessageHandler> getPreCreationHandlerType()
AbstractSimpleMessageHandlerFactoryBean
getPreCreationHandlerType
in class AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
public void setTargetObject(Object targetObject)
public void setTargetMethodName(String targetMethodName)
public void setExpressionString(String expressionString)
public void setExpression(Expression expression)
protected MessageHandler createHandler()
createHandler
in class AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
protected boolean methodIsHandleMessageOrEmpty(String targetMethodName)