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 java.lang.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 
    Modifier and Type Class Description
    static class  ChannelInitializer.AutoCreateCandidatesCollector  
  • Method Summary

    Modifier and Type Method Description
    void afterPropertiesSet()  
    void setAutoCreate​(boolean autoCreate)  
    void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException
    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean