zoukankan      html  css  js  c++  java
  • spring ioc

    // Allows post-processing of the bean factory in context subclasses.

                                         postProcessBeanFactory(beanFactory);

    1.空实现     ioc容器

     

                                         // Invoke factory processors registered as beans in the context.

                                         invokeBeanFactoryPostProcessors(beanFactory);

    2.实例化工厂bean,

                                         // Register bean processors that intercept bean creation.

                                         registerBeanPostProcessors(beanFactory);

    3.注册容器

                                         // Initialize message source for this context.

                                         initMessageSource();

    4.初始化信息资源

                                         // Initialize event multicaster for this context.

                                         initApplicationEventMulticaster();

    5.初始化应用事件

                                         // Initialize other special beans in specific context subclasses.

                                         onRefresh();

    6.

                                         // Check for listener beans and register them.

                                         registerListeners();

     

                                         // Instantiate all remaining (non-lazy-init) singletons.

                                         finishBeanFactoryInitialization(beanFactory);

     

                                         // Last step: publish corresponding event.

                                         finishRefresh();

  • 相关阅读:
    [MySQL]You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
    mysql的索引
    Mysql中的Btree与Hash索引
    Tomcat集群的session共享
    Linux常用命令总结
    docker elk
    docker+mysql+zabix-server环境搭建
    centos7系统服务管理
    Linux vim常用命令
    linux系统日志查看
  • 原文地址:https://www.cnblogs.com/gjack/p/9020957.html
Copyright © 2011-2022 走看看