Results 1 to 3 of 3

Thread: Where is BeanFactoryPostProcessor in creation sequence?

Threaded View

  1. #1
    Join Date
    Aug 2004
    Location
    Carlisle, UK
    Posts
    184

    Default Where is BeanFactoryPostProcessor in creation sequence?

    I am curious to understand the exact sequence of events in creating a BeanFactory (or ApplicationContext) and where BeanFactoryPostProcessor fits in.

    The ref document says the purpose of a BeanFactoryPostProcessor is
    to apply changes of some sort to an entire BeanFactory, after it has been constructed.
    but I'm not sure what 'constructed' means in this context.

    I have written a BeanFactoryPostProcessor that initializes some static fields in a class that my application uses (see http://forum.springframework.org/showthread.php?t=17350)

    If any objects of this class were instantiated in the course of building the factory, it would be important that this initialization took place first. In the (limited) experimentation I've done, this seems to be so.

    Is this the case? Do BeanFactoryPostProcessors run before the instantiation of any beans? In which case, what does 'construction' of the bean factory mean?
    In other words, what does the 'Post' in BeanFactoryPostProcessor refer to?
    Last edited by robyn; May 14th, 2006 at 09:05 PM.
    Chris Harris
    Carlisle, UK

Similar Threads

  1. Replies: 2
    Last Post: Oct 23rd, 2005, 02:32 AM
  2. Replies: 2
    Last Post: Aug 2nd, 2005, 02:06 AM
  3. quartz: do sequence of calls.
    By Alarmnummer in forum Container
    Replies: 1
    Last Post: Mar 6th, 2005, 04:04 AM
  4. Replies: 1
    Last Post: Aug 20th, 2004, 11:11 AM
  5. Configure a bean after creation
    By ndlesiecki in forum Container
    Replies: 2
    Last Post: Aug 16th, 2004, 11:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •