Results 1 to 2 of 2

Thread: depends-on is local only?

  1. #1
    Join Date
    Aug 2004
    Location
    u.s.a
    Posts
    399

    Default depends-on is local only?

    Is the depends-on attribute of a bean just indicating a bean within the local config or anywhere like a <ref bean.... /> would be?

    The DTD says: The names of the beans that this bean depends on being initialized.
    The bean factory will guarantee that these beans get initialized before.

  2. #2
    Join Date
    Aug 2004
    Location
    Montréal, Canada
    Posts
    845

    Default Re: depends-on is local only?

    Quote Originally Posted by jbetancourt
    Is the depends-on attribute of a bean just indicating a bean within the local config or anywhere like a <ref bean.... /> would be?
    yes, depends-on looks for bean in local and parent contexts.
    Omar Irbouh

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

Similar Threads

  1. Replies: 6
    Last Post: Mar 6th, 2005, 12:41 PM
  2. Referencing local lists
    By washik in forum Container
    Replies: 1
    Last Post: Feb 10th, 2005, 10:34 AM
  3. A depends on B depends on A
    By Edward Kenworthy in forum Container
    Replies: 4
    Last Post: Jan 23rd, 2005, 06:56 AM
  4. Replies: 6
    Last Post: Nov 16th, 2004, 01:39 PM
  5. suggest: speed up local rmi invoke
    By steeven in forum Remoting
    Replies: 1
    Last Post: Sep 12th, 2004, 01:54 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
  •