Spring Integration

org.springframework.integration.config
Class ServiceActivatorFactoryBean

java.lang.Object
  extended by org.springframework.integration.config.ServiceActivatorFactoryBean
All Implemented Interfaces:
BeanFactoryAware, FactoryBean<MessageHandler>

public class ServiceActivatorFactoryBean
extends Object

FactoryBean for creating ServiceActivatingHandler instances.

Since:
2.0
Author:
Mark Fisher

Constructor Summary
ServiceActivatorFactoryBean()
           
 
Method Summary
protected  BeanFactory getBeanFactory()
           
 MessageHandler getObject()
           
 Class<? extends MessageHandler> getObjectType()
           
 boolean isSingleton()
           
 void setBeanFactory(BeanFactory beanFactory)
           
 void setExpression(String expression)
           
 void setOrder(Integer order)
           
 void setOutputChannel(MessageChannel outputChannel)
           
 void setRequiresReply(Boolean requiresReply)
           
 void setSendTimeout(Long sendTimeout)
           
 void setTargetMethodName(String targetMethodName)
           
 void setTargetObject(Object targetObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceActivatorFactoryBean

public ServiceActivatorFactoryBean()
Method Detail

setSendTimeout

public void setSendTimeout(Long sendTimeout)

setRequiresReply

public void setRequiresReply(Boolean requiresReply)

setTargetObject

public void setTargetObject(Object targetObject)

setTargetMethodName

public void setTargetMethodName(String targetMethodName)

setExpression

public void setExpression(String expression)

setOutputChannel

public void setOutputChannel(MessageChannel outputChannel)

setOrder

public void setOrder(Integer order)

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
                    throws BeansException
Specified by:
setBeanFactory in interface BeanFactoryAware
Throws:
BeansException

getBeanFactory

protected BeanFactory getBeanFactory()

getObject

public MessageHandler getObject()
                         throws Exception
Specified by:
getObject in interface FactoryBean<MessageHandler>
Throws:
Exception

getObjectType

public Class<? extends MessageHandler> getObjectType()
Specified by:
getObjectType in interface FactoryBean<MessageHandler>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<MessageHandler>

Spring Integration

Copyright © 2010. All Rights Reserved.