当前位置:网站首页>Overview of relevant subclasses of beanfactorypostprocessor and beanpostprocessor
Overview of relevant subclasses of beanfactorypostprocessor and beanpostprocessor
2022-07-04 05:37:00 【Xiao Liu said】
List of articles
BeanFactoryPostProcessor
Mainly used for processing BeanFactory and BeanDefinition
Subclass overview
Class diagram 
BeanDefinitionRegistryPostProcessor
The main operation objects are BeanDefinitionConfigurableListableBeanFactory
1、 Analysis added@ConfigurationConfiguration class
2、 analysis@ComponentScanScanned bag
3、 analysis@ComponentScansScanned bag
4、 analysis@ImportannotationPlaceholderConfigurerSupport
For parsing bean In the attribute value in the definitionPlace holderDeprecatedBeanWarner
Detect abandoned bean object , And record the user specified bean typeCustomScopeConfigurer
Configurator of custom scopeEventListenerMethodProcessor
1、 analysis@EventListener, Get the intercept method
2、 Transform the interception method , become ApplicationListener
3、 Will be transformed ApplicationListener Put it in Spring In the containerCustomAutowireConfigurer
Allows easy registration of customizations autowire Qualifier typeCustomEditorConfigurer
This class is used to easily register a user-defined Attribute Editor
BeanPostProcessor
Call after instantiation attribute injection or initialization is completed 
Subclass overview
Class diagram 
ApplicationContextAwareProcessor
To some realize Aware The interface of bean Set up ApplicationContext Corresponding properties in
ApplicationListenerDetector
This class is used to detect bean Is it implemented ApplicationListener Interface , Two functions :
1、 After instantiation , If bean Of and belonging to ApplicationListener Interface , Then add to the multicast
2、bean Before destruction , If bean It's a applicationListener , Delete in advance from the multicastCommonAnnotationBeanPostProcessor
Responsible for parsing@Resource、@WebServiceRef、@EJBThree annotationsAutowiredAnnotationBeanPostProcessor
complete bean in@Autowired,@Inject,@ValueAnnotation parsing and injection functionAbstractAutoProxyCreator
ProxyProcessorSupport An important subclass of .SpringAOP The core class in .
Realized SmartInstantiationAwareBeanPostProcessor、BeanFactoryAware Interface .
Automatically create classes for proxy objects . We are using AOP Basically, we use this class to process Bean Interception of , Create proxy object .AbstractAdvisorAutoProxyCreator
AbstractAutoProxyCreator Subclasses of .SpringAOP The core class in . Used to create Advisor And proxy objects .AspectJAwareAdvisorAutoProxyCreator
AbstractAdvisorAutoProxyCreator Subclasses of . Use AspectJ Syntax creation Advisor And proxy objects .
other
02 Spring Source code summary - invokeBeanFactoryPostProcessors()
04 Spring Source code summary - registerBeanPostProcessors()
边栏推荐
- [matlab] matlab simulates digital baseband transmission system eye diagram of bipolar baseband signal (cosine roll off forming pulse)
- 2022年A特种设备相关管理(电梯)考试题模拟考试平台操作
- ansys命令
- Simulink与Arduino串口通信
- 空洞卷积、可变形卷积、可变形ROI Pooling
- 远程桌面客户端 RDP
- BUU-Real-[PHP]XXE
- LM small programmable controller software (based on CoDeSys) note XXI: error 3703
- RSA加密应用常见缺陷的原理与实践
- Programmers don't talk about morality, and use multithreading for Heisi's girlfriend
猜你喜欢

KMP匹配字符串

724. Find the central subscript of the array

云原生架构实战案例及优化解决方案
![[QT] timer](/img/df/5db6af851ef19f33fd7e7a7ed46586.png)
[QT] timer

光模块字母含义及参数简称大全

Void convolution, deformable convolution, deformable ROI pooling

Simulink与Arduino串口通信

BeanFactoryPostProcessor 与 BeanPostProcessor 相关子类概述

Analysis of classical pointer and array written test questions in C language

光模塊字母含義及參數簡稱大全
随机推荐
[matlab] general function of communication signal modulation inverse Fourier transform
Leetcode 184 Employees with the highest wages in the Department (July 3, 2022)
十二. golang其他
Void convolution, deformable convolution, deformable ROI pooling
Thread pool: use thread pool to optimize query speed
2022 t elevator repair operation certificate examination question bank and simulation examination
Canoe panel learning video
LC周赛300
input显示当前选择的图片
What are the reasons for the frequent high CPU of ECS?
724. Find the central subscript of the array
Zzulioj:1201: mode problem
2022G2电站锅炉司炉特种作业证考试题库及答案
ANSYS command
[interested reading] advantageous filtering modeling on long term user behavior sequences for click through rate pre
LM小型可编程控制器软件(基于CoDeSys)笔记二十二:错误4268/4052
BeanFactoryPostProcessor 与 BeanPostProcessor 相关子类概述
ETCD数据库源码分析——初始化总览
C language simple student management system (including source code)
2022危险化学品经营单位安全管理人员上岗证题库及答案