Announcement Announcement Module
Collapse
No announcement yet.
Setting Parent ApplicationContext Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting Parent ApplicationContext

    This seems like a simple problem, yet searching the documentation and the web yields no results. How does an application context specify it's parent?
    I need to specify this in the XML without using setParent method. Is there a way to use the setPArent way from the applicationcontext's xml file maybe?
    Thanks in advance

  • #2
    AFAIK this is not supported dirctely in xml configuration files. Spring contexts Parent-Child relationship is defined upon contexts loading:
    1. setParent() method
    2. constructors (delegates to setParent)

    Comment

    Working...
    X