public class ServiceActivatorFactoryBean extends AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
ServiceActivatingHandler
instances.logger
Constructor and Description |
---|
ServiceActivatorFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBeUsedDirect(AbstractReplyProducingMessageHandler handler)
Always returns true - any
AbstractReplyProducingMessageHandler can
be used directly. |
protected void |
checkForIllegalTarget(Object targetObject,
String targetMethodName) |
protected MessageHandler |
createHandler() |
protected boolean |
methodIsHandleMessageOrEmpty(String targetMethodName) |
protected void |
postProcessReplyProducer(AbstractReplyProducingMessageHandler handler) |
void |
setExpression(Expression expression) |
void |
setExpressionString(String expressionString) |
void |
setRequiresReply(Boolean requiresReply) |
void |
setSendTimeout(Long sendTimeout) |
void |
setTargetMethodName(String targetMethodName) |
void |
setTargetObject(Object targetObject) |
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setBeanFactory, setComponentName, setOrder, setOutputChannel
public void setSendTimeout(Long sendTimeout)
public void setRequiresReply(Boolean requiresReply)
protected boolean canBeUsedDirect(AbstractReplyProducingMessageHandler handler)
AbstractReplyProducingMessageHandler
can
be used directly.protected void postProcessReplyProducer(AbstractReplyProducingMessageHandler handler)
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 void checkForIllegalTarget(Object targetObject, String targetMethodName)
protected boolean methodIsHandleMessageOrEmpty(String targetMethodName)