当前位置:网站首页>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()
边栏推荐
- XII Golang others
- 补某视频网站的js,进行视频解密
- Etcd database source code analysis - initialization overview
- [matlab] communication signal modulation general function - low pass filter
- How to configure static IP for Kali virtual machine
- Electronic components mall and data manual download website summary
- Evolution of system architecture: differences and connections between SOA and microservice architecture
- Wechat applet +php realizes authorized login
- VB. Net calls ffmpeg to simply process video (class Library-6)
- 云原生架构实战案例及优化解决方案
猜你喜欢

BUU-Reverse-easyre
![[Excel] 数据透视图](/img/45/be87e4428a1d8ef66ef34a63d12fd4.png)
[Excel] 数据透视图

模拟小根堆

RSA加密应用常见缺陷的原理与实践

2022 t elevator repair operation certificate examination question bank and simulation examination

补某视频网站的js,进行视频解密

What is MQ?
![[interested reading] advantageous filtering modeling on long term user behavior sequences for click through rate pre](/img/3e/b5df691ca1790469eb1b4e8ea5b4c0.png)
[interested reading] advantageous filtering modeling on long term user behavior sequences for click through rate pre

Letter meaning and parameter abbreviation of optical module Daquan

LM小型可编程控制器软件(基于CoDeSys)笔记二十一:错误3703
随机推荐
[matlab] matlab simulation modulation system FM system
724. Find the central subscript of the array
ANSYS command
谷歌 Chrome 浏览器将支持选取文字翻译功能
LC weekly 300
[matlab] matlab simulation modulation system - VSB system
【雕爷学编程】Arduino动手做(105)---压电陶瓷振动模块
[MySQL practice of massive data with high concurrency, high performance and high availability -8] - transaction isolation mechanism of InnoDB
2022危险化学品经营单位安全管理人员上岗证题库及答案
Programming example of stm32f1 and stm32subeide -74hc595 drives 4-bit 7-segment nixie tube
[matlab] communication signal modulation general function - low pass filter
Descriptive analysis of data distribution characteristics (data exploration)
模拟小根堆
LabVIEW错误对话框的出现
Unity2D--人物移动并转身
Evolution of system architecture: differences and connections between SOA and microservice architecture
[matlab] matlab simulates digital baseband transmission system eye diagram of bipolar baseband signal (cosine roll off forming pulse)
BUU-Crypto-[HDCTF2019]basic rsa
c语言经典指针和数组笔试题解析
JS string splicing