October 2017
Intermediate to advanced
396 pages
10h 2m
English
This special case of a bean post-processor causes init (@PostConstruct) methods to be called. Internally, Spring uses several BeanPostProcessors (BPPs) CommonAnnotationBeanPostProcessor to enable initialization. The following diagram illustrates the relationship between initializer and BPPs.

Now let's see the following example for the Initializer extension point in XML:
Namespace <context:annotation-config/> explicitly enables many post-processor, let see the following configuration file in XML:
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
Read now
Unlock full access