Results 1 to 2 of 2

Thread: Setting Parent ApplicationContext

  1. #1
    Join Date
    Aug 2004
    Posts
    16

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default

    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)
    Omar Irbouh

    Spring Modules Team
    http://irbouh.blogspot.com/

Similar Threads

  1. Hibernate Long Session Per Flow?
    By akw in forum Web Flow
    Replies: 21
    Last Post: Dec 12th, 2005, 08:06 PM
  2. Context initialization failed
    By kanonmicke in forum Container
    Replies: 7
    Last Post: Sep 29th, 2005, 12:35 AM
  3. Spring/Hibernate Delete/Update Problem
    By Noname in forum Data
    Replies: 4
    Last Post: Jun 15th, 2005, 11:07 PM
  4. Transaction Management
    By caverns in forum Data
    Replies: 3
    Last Post: Mar 8th, 2005, 06:38 AM
  5. Replies: 1
    Last Post: Nov 4th, 2004, 09:11 AM

Posting Permissions

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