This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Doubt on spring BeanPortProcessors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Doubt on spring BeanPortProcessors" Watch "Doubt on spring BeanPortProcessors" New topic
Author

Doubt on spring BeanPortProcessors

Tamal Mandal
Greenhorn

Joined: Feb 07, 2005
Posts: 3
Hi,

If I register a BeanPortProcessor anywhere in spring application context, does spring load the such post processing beans before loading other normal beans??

To frame the Q alternatively - Does spring searches through the entire application context to look for post processor bean and loads them before loading other normal beans during context load??

Please respond if someone has the answer..

Tamal
vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
Hi Tamal


Does spring searches through the entire application context to look for post processor bean and loads them before loading other normal beans during context load


Yes.Application contexts can auto-detect BeanPostProcessor beans in their bean definitions and apply them before any other beans get created.
Tamal Mandal
Greenhorn

Joined: Feb 07, 2005
Posts: 3
Thanks Vidya.
That was helpful
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Doubt on spring BeanPortProcessors
 
Similar Threads
When are Beans in scopes other than singleton exactly loaded?
Spring + Struts [1 web app / 2 ApplicationContext]
AbstractTransactionalSpringContextTests lazy loading beans
Spring context file
exception in jndi configuration - spring framework