From dc2bd79fd7847ed51b9b2412dd1954041856c2c3 Mon Sep 17 00:00:00 2001 From: xuchengsheng Date: Wed, 1 Nov 2023 10:23:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-FUTURE.md | 178 +++++++++--------- .../spring-metadata-metadataReader/pom.xml | 2 +- spring-resources/pom.xml | 1 - 3 files changed, 92 insertions(+), 89 deletions(-) diff --git a/README-FUTURE.md b/README-FUTURE.md index 8f06b44..be95440 100644 --- a/README-FUTURE.md +++ b/README-FUTURE.md @@ -65,107 +65,111 @@ + 资源加载与访问 - Resource - ResourceLoader - - MetadataReader -+ Bean的定义与注册 + + 元数据 + + MetadataReader + + AnnotationMetadata + + Bean的定义与注册 + BeanDefinition - + BeanDefinitionHolder + + BeanDefinitionHolder + BeanDefinitionRegistry -+ BeanDefinition的来源 - - XmlBeanDefinitionReader - - PropertiesBeanDefinitionReader - - AnnotatedBeanDefinitionReader - - ClassPathBeanDefinitionScanner - - ImportBeanDefinitionRegistrar - - BeanDefinitionImportSelector + + BeanDefinition的来源 + + XmlBeanDefinitionReader + + PropertiesBeanDefinitionReader + + AnnotatedBeanDefinitionReader + + ClassPathBeanDefinitionScanner + + ImportBeanDefinitionRegistrar + + BeanDefinitionImportSelector + Bean的过滤 - + TypeFilter - + ConditionEvaluator + Condition + ConditionContext + ConfigurationCondition + 属性编辑与类型转换 - - PropertyEditor - - ConversionService - - Converter + + PropertyEditor + + ConversionService + + Converter + 表达式语言(SpEL) - Expression - ExpressionParser - - EvaluationContext + + - EvaluationContext - PropertyAccessor - - MethodResolver + - MethodResolver - TypeLocator - + Bean容器与配置 - - BeanFactory - - ListableBeanFactory - - HierarchicalBeanFactory - - ConfigurableBeanFactory - + Bean生命周期 - - Bean的定义解析 - - Bean的初始化过程 - - Bean的依赖解析过程 - - Bean的销毁过程 - -- Bean初始化与扩展点 - + InitializingBean - + DisposableBean - + BeanDefinitionRegistryPostProcessor - + BeanFactoryPostProcessor - + BeanPostProcessor - + InstantiationAwareBeanPostProcessor - + DestructionAwareBeanPostProcessor - + MergedBeanDefinitionPostProcessor - + SmartInstantiationAwareBeanPostProcessor - + SmartInitializingSingleton - - 基于Java的配置 - - ConfigurationClassPostProcessor - - ConfigurationClassParser - - 核心注解 - - @Configuration - - @ComponentScan - - @Bean - - @Import - - @PropertySource - - @DependsOn - - @Conditional - - @Lazy - - @Primary - - @Description - - @Role - - @Value - - @Autowired - - @Indexed - - @Order - - JSR规范 - - @Inject - - @Named - - @Resource - - @Qualifier - - @Scope - - @Singleton - - @PostConstruct - - @PreDestroy - - Provider - - Aware接口系列 - + BeanNameAware - + BeanClassLoaderAware - + BeanFactoryAware - + EnvironmentAware - + EmbeddedValueResolverAware - + ResourceLoaderAware - + ApplicationEventPublisherAware - + MessageSourceAware - + ApplicationStartupAware - + ApplicationContextAware - + ImportAware - + BeanDefinitionRegistryAware - - 容器上下文 - + ClassPathXmlApplicationContext - + FileSystemXmlApplicationContext - + AnnotationConfigApplicationContext - + GenericApplicationContext - + + + Bean工厂 + + BeanFactory + + ListableBeanFactory + + HierarchicalBeanFactory + + ConfigurableBeanFactory + + + Bean生命周期 + - Bean的定义解析 + - Bean的初始化过程 + - Bean的依赖解析过程 + - Bean的销毁过程 + + - Bean初始化与扩展点 + + InitializingBean + + DisposableBean + + BeanDefinitionRegistryPostProcessor + + BeanFactoryPostProcessor + + BeanPostProcessor + + InstantiationAwareBeanPostProcessor + + DestructionAwareBeanPostProcessor + + MergedBeanDefinitionPostProcessor + + SmartInstantiationAwareBeanPostProcessor + + SmartInitializingSingleton + + - 基于Java的配置 + - ConfigurationClassPostProcessor + - ConfigurationClassParser + - 核心注解 + - @Configuration + - @ComponentScan + - @Bean + - @Import + - @PropertySource + - @DependsOn + - @Conditional + - @Lazy + - @Primary + - @Description + - @Role + - @Value + - @Autowired + - @Indexed + - @Order + - JSR规范 + - @Inject + - @Named + - @Resource + - @Qualifier + - @Scope + - @Singleton + - @PostConstruct + - @PreDestroy + - Provider + - Aware接口系列 + + BeanNameAware + + BeanClassLoaderAware + + BeanFactoryAware + + EnvironmentAware + + EmbeddedValueResolverAware + + ResourceLoaderAware + + ApplicationEventPublisherAware + + MessageSourceAware + + ApplicationStartupAware + + ApplicationContextAware + + ImportAware + + BeanDefinitionRegistryAware + - 容器上下文 + + ClassPathXmlApplicationContext + + FileSystemXmlApplicationContext + + AnnotationConfigApplicationContext + + GenericApplicationContext + 2. **AOP (面向切面编程)** - AOP 术语:Aspect、Join point、Advice、Pointcut 等 diff --git a/spring-metadata/spring-metadata-metadataReader/pom.xml b/spring-metadata/spring-metadata-metadataReader/pom.xml index 97b7f47..08c6123 100644 --- a/spring-metadata/spring-metadata-metadataReader/pom.xml +++ b/spring-metadata/spring-metadata-metadataReader/pom.xml @@ -9,6 +9,6 @@ 4.0.0 - spring-resource-metadataReader + spring-metadata-metadataReader \ No newline at end of file diff --git a/spring-resources/pom.xml b/spring-resources/pom.xml index 3ace731..36b79ec 100644 --- a/spring-resources/pom.xml +++ b/spring-resources/pom.xml @@ -15,7 +15,6 @@ spring-resource spring-resource-resourceLoader - spring-resource-metadataReader \ No newline at end of file