Announcement Announcement Module
Collapse
No announcement yet.
BeanFactoryPostProcessor and hierarchical contexts? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • BeanFactoryPostProcessor and hierarchical contexts?

    Is it intended that BeanFactoryPostProcessor defined in a parent context not be applied to child contexts?

    Use case: I've setup a CustomEditorConfigurer with application-wide property edtors in the appication-level context. Then at runtime, I am creating instances of child context that require these property editors.

    I have the same issue for other BeanFactoryPostProcessor that I would like to define once in the parent context and be applied to child contexts.

    Do I need to place all the post-processors in their own xml file and import them into each context at each level?

  • #2
    Is it intended that BeanFactoryPostProcessor defined in a parent context not be applied to child contexts?
    Yes.
    Do I need to place all the post-processors in their own xml file and import them into each context at each level?
    Yes.

    Comment


    • #3
      Ok. Thanks Omar!

      Comment

      Working...
      X