How Spring Framework Register BeanPostProcessor
During Spring Project startup, with each additional
BeanPostProcessor, all beans will go through methods
postProcessBeforeInitialization & postProcessAfterInitialization.
so by default, these BeanPostProcessor are not registered by default. unless we explictly add annotation like Enable*, then respective BeanPostProcessor will be registered.
Let’s see some examples.