October 2017
Intermediate to advanced
396 pages
10h 2m
English
The BeanPostProcessor is an important extension point in Spring. It can modify bean instances in any way. It is used to enable a powerful feature such as the AOP proxy. You can write your own BeanPostProcessor in your application to create a custom post-processor--the class must implement the BeanPostProcessor interface. Spring provides several implementations of BeanPostProcessor. In Spring, the BeanPostProcessor interface has two callback methods, as follows:
public interface BeanPostProcessor {
Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException;
Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException;
}
You can implement ...
Read now
Unlock full access