优化目录

master
xuchengsheng 2023-11-01 10:23:15 +08:00
parent a4a4e65d5c
commit dc2bd79fd7
3 changed files with 92 additions and 89 deletions

View File

@ -65,107 +65,111 @@
+ 资源加载与访问 + 资源加载与访问
- Resource - Resource
- ResourceLoader - ResourceLoader
- MetadataReader + 元数据
+ Bean的定义与注册 + MetadataReader
+ AnnotationMetadata
+ Bean的定义与注册
+ BeanDefinition + BeanDefinition
+ BeanDefinitionHolder + BeanDefinitionHolder
+ BeanDefinitionRegistry + BeanDefinitionRegistry
+ BeanDefinition的来源 + BeanDefinition的来源
- XmlBeanDefinitionReader + XmlBeanDefinitionReader
- PropertiesBeanDefinitionReader + PropertiesBeanDefinitionReader
- AnnotatedBeanDefinitionReader + AnnotatedBeanDefinitionReader
- ClassPathBeanDefinitionScanner + ClassPathBeanDefinitionScanner
- ImportBeanDefinitionRegistrar + ImportBeanDefinitionRegistrar
- BeanDefinitionImportSelector + BeanDefinitionImportSelector
+ Bean的过滤 + Bean的过滤
+ TypeFilter + TypeFilter
+ ConditionEvaluator + ConditionEvaluator
+ Condition + Condition
+ ConditionContext + ConditionContext
+ ConfigurationCondition + ConfigurationCondition
+ 属性编辑与类型转换 + 属性编辑与类型转换
- PropertyEditor + PropertyEditor
- ConversionService + ConversionService
- Converter + Converter
+ 表达式语言(SpEL) + 表达式语言(SpEL)
- Expression - Expression
- ExpressionParser - ExpressionParser
- EvaluationContext
- EvaluationContext
- PropertyAccessor - PropertyAccessor
- MethodResolver - MethodResolver
- TypeLocator - TypeLocator
+ Bean容器与配置
- BeanFactory + Bean工厂
- ListableBeanFactory + BeanFactory
- HierarchicalBeanFactory + ListableBeanFactory
- ConfigurableBeanFactory + HierarchicalBeanFactory
+ Bean生命周期 + ConfigurableBeanFactory
- Bean的定义解析
- Bean的初始化过程 + Bean生命周期
- Bean的依赖解析过程 - Bean的定义解析
- Bean的销毁过程 - Bean的初始化过程
- Bean的依赖解析过程
- Bean初始化与扩展点 - Bean的销毁过程
+ InitializingBean
+ DisposableBean - Bean初始化与扩展点
+ BeanDefinitionRegistryPostProcessor + InitializingBean
+ BeanFactoryPostProcessor + DisposableBean
+ BeanPostProcessor + BeanDefinitionRegistryPostProcessor
+ InstantiationAwareBeanPostProcessor + BeanFactoryPostProcessor
+ DestructionAwareBeanPostProcessor + BeanPostProcessor
+ MergedBeanDefinitionPostProcessor + InstantiationAwareBeanPostProcessor
+ SmartInstantiationAwareBeanPostProcessor + DestructionAwareBeanPostProcessor
+ SmartInitializingSingleton + MergedBeanDefinitionPostProcessor
- 基于Java的配置 + SmartInstantiationAwareBeanPostProcessor
- ConfigurationClassPostProcessor + SmartInitializingSingleton
- ConfigurationClassParser
- 核心注解 - 基于Java的配置
- @Configuration - ConfigurationClassPostProcessor
- @ComponentScan - ConfigurationClassParser
- @Bean - 核心注解
- @Import - @Configuration
- @PropertySource - @ComponentScan
- @DependsOn - @Bean
- @Conditional - @Import
- @Lazy - @PropertySource
- @Primary - @DependsOn
- @Description - @Conditional
- @Role - @Lazy
- @Value - @Primary
- @Autowired - @Description
- @Indexed - @Role
- @Order - @Value
- JSR规范 - @Autowired
- @Inject - @Indexed
- @Named - @Order
- @Resource - JSR规范
- @Qualifier - @Inject
- @Scope - @Named
- @Singleton - @Resource
- @PostConstruct - @Qualifier
- @PreDestroy - @Scope
- Provider - @Singleton
- Aware接口系列 - @PostConstruct
+ BeanNameAware - @PreDestroy
+ BeanClassLoaderAware - Provider
+ BeanFactoryAware - Aware接口系列
+ EnvironmentAware + BeanNameAware
+ EmbeddedValueResolverAware + BeanClassLoaderAware
+ ResourceLoaderAware + BeanFactoryAware
+ ApplicationEventPublisherAware + EnvironmentAware
+ MessageSourceAware + EmbeddedValueResolverAware
+ ApplicationStartupAware + ResourceLoaderAware
+ ApplicationContextAware + ApplicationEventPublisherAware
+ ImportAware + MessageSourceAware
+ BeanDefinitionRegistryAware + ApplicationStartupAware
- 容器上下文 + ApplicationContextAware
+ ClassPathXmlApplicationContext + ImportAware
+ FileSystemXmlApplicationContext + BeanDefinitionRegistryAware
+ AnnotationConfigApplicationContext - 容器上下文
+ GenericApplicationContext + ClassPathXmlApplicationContext
+ FileSystemXmlApplicationContext
+ AnnotationConfigApplicationContext
+ GenericApplicationContext
2. **AOP (面向切面编程)** 2. **AOP (面向切面编程)**
- AOP 术语Aspect、Join point、Advice、Pointcut 等 - AOP 术语Aspect、Join point、Advice、Pointcut 等

View File

@ -9,6 +9,6 @@
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>spring-resource-metadataReader</artifactId> <artifactId>spring-metadata-metadataReader</artifactId>
</project> </project>

View File

@ -15,7 +15,6 @@
<modules> <modules>
<module>spring-resource</module> <module>spring-resource</module>
<module>spring-resource-resourceLoader</module> <module>spring-resource-resourceLoader</module>
<module>spring-resource-metadataReader</module>
</modules> </modules>
</project> </project>