Mar 3rd, 2011, 01:25 AM
Beans & BeanPostProcessors
Good morning folks,
I have a quick question about the internal working of BeanPostProcessors. I know that each gets called twice: Before and after initialization of the bean. Point is:
a) Is every bean being processed by each PostProcessor before moving on to the next bean, or
b) are all beans processed by one PostProcessor before moving on to the next PostProcessor?
Background: I'm trying to integrate some custom annotations into Spring, and a BeanPostProcessor is the closest thing to what I want to do. Problem is, that this would still require some kind of ordering..dunno if the idea is feasible enough to do all that at all.