I'm newbie to Spring and i'm trying to understand the BeanPostProcessor - postProcessBeforeInitialization and postProcessAfterInitialization.
In short:
1) spring.xml
2) TrianglePostProcessor.java
3) DisplayBeanNamePostProcessor.java
4) DrawingApp.java
Now when i run the DrawingApp, i got the following messages:
In postProcessBeforeInitialization bean = org.tutorial.spring.Point#5f0101fb
In postProcessAfterInitialization bean = org.tutorial.spring.Point#5f0101fb
setPointA
In postProcessBeforeInitialization bean = triangle1
In postProcessAfterInitialization bean = triangle1
The `postProcessBeforeInitialization` as its
word says should be before initialization but as you can see from the log, the setPointA is executed first and then the `postProcessBeforeInitialization` ..
Did I miss something?