This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Beans & BeanPostProcessors

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.