|
| 1 | +<!-- START doctoc generated TOC please keep comment here to allow auto update --> |
| 2 | +<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> |
| 3 | +**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* |
| 4 | + |
| 5 | +- [基本](#%E5%9F%BA%E6%9C%AC) |
| 6 | + - [ClassPathXmlApplicationContext](#classpathxmlapplicationcontext) |
| 7 | + - [构造器](#%E6%9E%84%E9%80%A0%E5%99%A8) |
| 8 | + - [设置配置文件路径](#%E8%AE%BE%E7%BD%AE%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%B7%AF%E5%BE%84) |
| 9 | + - [Environment接口](#environment%E6%8E%A5%E5%8F%A3) |
| 10 | + - [Profile](#profile) |
| 11 | + - [Property](#property) |
| 12 | + - [Environment构造器](#environment%E6%9E%84%E9%80%A0%E5%99%A8) |
| 13 | + - [PropertySources接口](#propertysources%E6%8E%A5%E5%8F%A3) |
| 14 | + - [PropertySource接口](#propertysource%E6%8E%A5%E5%8F%A3) |
| 15 | + - [路径Placeholder处理](#%E8%B7%AF%E5%BE%84placeholder%E5%A4%84%E7%90%86) |
| 16 | + - [PropertyResolver接口](#propertyresolver%E6%8E%A5%E5%8F%A3) |
| 17 | + - [解析](#%E8%A7%A3%E6%9E%90) |
| 18 | + - [refresh](#refresh) |
| 19 | + - [prepareRefresh](#preparerefresh) |
| 20 | + - [属性校验](#%E5%B1%9E%E6%80%A7%E6%A0%A1%E9%AA%8C) |
| 21 | + - [BeanFactory创建](#beanfactory%E5%88%9B%E5%BB%BA) |
| 22 | + - [BeanFactory接口](#beanfactory%E6%8E%A5%E5%8F%A3) |
| 23 | + - [BeanFactory定制](#beanfactory%E5%AE%9A%E5%88%B6) |
| 24 | + - [Bean加载](#bean%E5%8A%A0%E8%BD%BD) |
| 25 | + - [EntityResolver](#entityresolver) |
| 26 | + - [BeanDefinitionReader](#beandefinitionreader) |
| 27 | + - [路径解析(Ant)](#%E8%B7%AF%E5%BE%84%E8%A7%A3%E6%9E%90ant) |
| 28 | + - [配置文件加载](#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E5%8A%A0%E8%BD%BD) |
| 29 | + - [Bean解析](#bean%E8%A7%A3%E6%9E%90) |
| 30 | + - [默认命名空间解析](#%E9%BB%98%E8%AE%A4%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4%E8%A7%A3%E6%9E%90) |
| 31 | + - [import](#import) |
| 32 | + - [alias](#alias) |
| 33 | + - [bean](#bean) |
| 34 | + - [id & name处理](#id--name%E5%A4%84%E7%90%86) |
| 35 | + - [beanName生成](#beanname%E7%94%9F%E6%88%90) |
| 36 | + - [bean解析](#bean%E8%A7%A3%E6%9E%90) |
| 37 | + - [Bean装饰](#bean%E8%A3%85%E9%A5%B0) |
| 38 | + - [Bean注册](#bean%E6%B3%A8%E5%86%8C) |
| 39 | + - [BeanDefiniton数据结构](#beandefiniton%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84) |
| 40 | + - [beans](#beans) |
| 41 | + - [其它命名空间解析](#%E5%85%B6%E5%AE%83%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4%E8%A7%A3%E6%9E%90) |
| 42 | + - [NamespaceHandler继承体系](#namespacehandler%E7%BB%A7%E6%89%BF%E4%BD%93%E7%B3%BB) |
| 43 | + - [init](#init) |
| 44 | + - [BeanFactory数据结构](#beanfactory%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84) |
| 45 | + - [prepareBeanFactory](#preparebeanfactory) |
| 46 | + - [BeanExpressionResolver](#beanexpressionresolver) |
| 47 | + - [PropertyEditorRegistrar](#propertyeditorregistrar) |
| 48 | + - [环境注入](#%E7%8E%AF%E5%A2%83%E6%B3%A8%E5%85%A5) |
| 49 | + - [依赖解析忽略](#%E4%BE%9D%E8%B5%96%E8%A7%A3%E6%9E%90%E5%BF%BD%E7%95%A5) |
| 50 | + - [bean伪装](#bean%E4%BC%AA%E8%A3%85) |
| 51 | + - [LoadTimeWeaver](#loadtimeweaver) |
| 52 | + - [注册环境](#%E6%B3%A8%E5%86%8C%E7%8E%AF%E5%A2%83) |
| 53 | + - [postProcessBeanFactory](#postprocessbeanfactory) |
| 54 | + - [invokeBeanFactoryPostProcessors](#invokebeanfactorypostprocessors) |
| 55 | + - [BeanPostProcessor注册](#beanpostprocessor%E6%B3%A8%E5%86%8C) |
| 56 | + - [MessageSource](#messagesource) |
| 57 | + - [事件驱动](#%E4%BA%8B%E4%BB%B6%E9%A9%B1%E5%8A%A8) |
| 58 | + - [事件](#%E4%BA%8B%E4%BB%B6) |
| 59 | + - [发布者](#%E5%8F%91%E5%B8%83%E8%80%85) |
| 60 | + - [ApplicationEventPublisher](#applicationeventpublisher) |
| 61 | + - [ApplicationEventMulticaster](#applicationeventmulticaster) |
| 62 | + - [监听器](#%E7%9B%91%E5%90%AC%E5%99%A8) |
| 63 | + - [初始化](#%E5%88%9D%E5%A7%8B%E5%8C%96) |
| 64 | + - [事件发布](#%E4%BA%8B%E4%BB%B6%E5%8F%91%E5%B8%83) |
| 65 | + - [监听器获取](#%E7%9B%91%E5%90%AC%E5%99%A8%E8%8E%B7%E5%8F%96) |
| 66 | + - [同步/异步](#%E5%90%8C%E6%AD%A5%E5%BC%82%E6%AD%A5) |
| 67 | + - [全局](#%E5%85%A8%E5%B1%80) |
| 68 | + - [注解](#%E6%B3%A8%E8%A7%A3) |
| 69 | + - [onRefresh](#onrefresh) |
| 70 | + - [ApplicationListener注册](#applicationlistener%E6%B3%A8%E5%86%8C) |
| 71 | + - [singleton初始化](#singleton%E5%88%9D%E5%A7%8B%E5%8C%96) |
| 72 | + - [ConversionService](#conversionservice) |
| 73 | + - [StringValueResolver](#stringvalueresolver) |
| 74 | + - [LoadTimeWeaverAware](#loadtimeweaveraware) |
| 75 | + - [初始化](#%E5%88%9D%E5%A7%8B%E5%8C%96-1) |
| 76 | +- [getBean](#getbean) |
| 77 | + - [beanName转化](#beanname%E8%BD%AC%E5%8C%96) |
| 78 | + - [手动注册bean检测](#%E6%89%8B%E5%8A%A8%E6%B3%A8%E5%86%8Cbean%E6%A3%80%E6%B5%8B) |
| 79 | + - [检查父容器](#%E6%A3%80%E6%9F%A5%E7%88%B6%E5%AE%B9%E5%99%A8) |
| 80 | + - [依赖初始化](#%E4%BE%9D%E8%B5%96%E5%88%9D%E5%A7%8B%E5%8C%96) |
| 81 | + - [Singleton初始化](#singleton%E5%88%9D%E5%A7%8B%E5%8C%96) |
| 82 | + - [getSingleton方法](#getsingleton%E6%96%B9%E6%B3%95) |
| 83 | + - [是否存在](#%E6%98%AF%E5%90%A6%E5%AD%98%E5%9C%A8) |
| 84 | + - [bean创建](#bean%E5%88%9B%E5%BB%BA) |
| 85 | + - [lookup-method检测](#lookup-method%E6%A3%80%E6%B5%8B) |
| 86 | + - [InstantiationAwareBeanPostProcessor触发](#instantiationawarebeanpostprocessor%E8%A7%A6%E5%8F%91) |
| 87 | + - [doCreateBean](#docreatebean) |
| 88 | + - [创建(createBeanInstance)](#%E5%88%9B%E5%BB%BAcreatebeaninstance) |
| 89 | + - [MergedBeanDefinitionPostProcessor](#mergedbeandefinitionpostprocessor) |
| 90 | + - [属性解析](#%E5%B1%9E%E6%80%A7%E8%A7%A3%E6%9E%90) |
| 91 | + - [属性设置](#%E5%B1%9E%E6%80%A7%E8%AE%BE%E7%BD%AE) |
| 92 | + - [初始化](#%E5%88%9D%E5%A7%8B%E5%8C%96-2) |
| 93 | + - [getObjectForBeanInstance](#getobjectforbeaninstance) |
| 94 | + - [Prototype初始化](#prototype%E5%88%9D%E5%A7%8B%E5%8C%96) |
| 95 | + - [beforePrototypeCreation](#beforeprototypecreation) |
| 96 | + - [createBean](#createbean) |
| 97 | + - [afterPrototypeCreation](#afterprototypecreation) |
| 98 | + - [总结](#%E6%80%BB%E7%BB%93) |
| 99 | + - [其它Scope初始化](#%E5%85%B6%E5%AE%83scope%E5%88%9D%E5%A7%8B%E5%8C%96) |
| 100 | + |
| 101 | +<!-- END doctoc generated TOC please keep comment here to allow auto update --> |
| 102 | + |
1 | 103 | # 基本
|
2 | 104 |
|
3 | 105 | 本部分从最基本的Spring开始。配置文件:
|
|
0 commit comments