Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt on spring BeanPortProcessors

 
Tamal Mandal
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Vidya.
That was helpful
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic