Class GroovyControlBusFactoryBean
java.lang.Object
org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
org.springframework.integration.groovy.config.GroovyControlBusFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,BeanNameAware
,FactoryBean<MessageHandler>
,ApplicationContextAware
,ApplicationEventPublisherAware
public class GroovyControlBusFactoryBean
extends AbstractSimpleMessageHandlerFactoryBean<MessageHandler>
implements 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, Gary Russell
-
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 MessageHandler
void
setBeanClassLoader
(ClassLoader classLoader) void
setCustomizer
(GroovyObjectCustomizer customizer) void
setSendTimeout
(Long sendTimeout) Methods inherited from class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean
createHandlerInternal, getBeanFactory, getObject, getObjectType, getPreCreationHandlerType, isSingleton, setAdviceChain, setApplicationContext, setApplicationEventPublisher, setAsync, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setOrder, setOutputChannel, setOutputChannelName
-
Constructor Details
-
GroovyControlBusFactoryBean
public GroovyControlBusFactoryBean()
-
-
Method Details
-
setSendTimeout
-
setCustomizer
-
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceBeanClassLoaderAware
-
createHandler
- Specified by:
createHandler
in classAbstractSimpleMessageHandlerFactoryBean<MessageHandler>
-