Class ChannelInitializer
java.lang.Object
org.springframework.integration.config.ChannelInitializer
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,InitializingBean
public final class ChannelInitializer extends Object implements BeanFactoryAware, InitializingBean
A
InitializingBean
implementation that is responsible for creating
channels that are not explicitly defined but identified via the 'input-channel'
attribute of the corresponding endpoints.
This bean plays a role of pre-instantiator since it is instantiated and
initialized as the very first bean of all SI beans using
AbstractIntegrationNamespaceHandler
.- Since:
- 2.1.1
- Author:
- Oleg Zhurakousky, Gary Russell, Artem Bilan
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChannelInitializer.AutoCreateCandidatesCollector
-
Method Summary
Modifier and Type Method Description void
afterPropertiesSet()
void
setAutoCreate(boolean autoCreate)
void
setBeanFactory(BeanFactory beanFactory)
-
Method Details
-
setAutoCreate
public void setAutoCreate(boolean autoCreate) -
setBeanFactory
- Specified by:
setBeanFactory
in interfaceBeanFactoryAware
- Throws:
BeansException
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-