Spring Integration

org.springframework.integration.groovy.config
Class GroovyControlBusFactoryBean

java.lang.Object
  extended by org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
      extended by org.springframework.integration.groovy.config.GroovyControlBusFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<MessageHandler>

public class GroovyControlBusFactoryBean
extends AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
implements org.springframework.beans.factory.BeanClassLoaderAware

FactoryBean for creating MessageHandler instances to handle a message as a Groovy Script.

Since:
2.0
Author:
Dave Syer, Oleg Zhurakousky, Mark Fisher, Artem Bilan, Stefan Reuter

Constructor Summary
GroovyControlBusFactoryBean()
           
 
Method Summary
protected  MessageHandler createHandler()
           
 void setBeanClassLoader(java.lang.ClassLoader classLoader)
           
 void setCustomizer(org.springframework.scripting.groovy.GroovyObjectCustomizer customizer)
           
 void setSendTimeout(java.lang.Long sendTimeout)
           
 
Methods inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
createHandlerInternal, getBeanFactory, getObject, getObjectType, isSingleton, setAdviceChain, setBeanFactory, setOrder, setOutputChannel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyControlBusFactoryBean

public GroovyControlBusFactoryBean()
Method Detail

setSendTimeout

public void setSendTimeout(java.lang.Long sendTimeout)

setCustomizer

public void setCustomizer(org.springframework.scripting.groovy.GroovyObjectCustomizer customizer)

setBeanClassLoader

public void setBeanClassLoader(java.lang.ClassLoader classLoader)
Specified by:
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware

createHandler

protected MessageHandler createHandler()
Specified by:
createHandler in class AbstractSimpleMessageHandlerFactoryBean<MessageHandler>

Spring Integration