Class ChannelInitializer
java.lang.Object
org.springframework.integration.config.ChannelInitializer
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.InitializingBean
public final class ChannelInitializer
extends Object
implements org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.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
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetAutoCreate(boolean autoCreate) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
-
Method Details
-
setAutoCreate
public void setAutoCreate(boolean autoCreate) -
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-