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();

  • 相关阅读:
    syslog远程日志存储/514端口【转】
    干掉僵尸进程
    以太网,IP,TCP,UDP数据包分析【转】
    suricata 的安装编译
    libpcap详解【转】
    蛋疼的经历--wireshark不能启动的问题
    Ubuntu中root用户和user用户的相互切换[转载自93度的饼干]
    OSI七层与TCP/IP五层网络架构详解
    __cplusplus的用法(转)
    IPsec ISAKMP(转)
  • 原文地址:https://www.cnblogs.com/gjack/p/9020957.html
Copyright © 2011-2022 走看看