Results 1 to 3 of 3

Thread: depends-on

  1. #1
    Join Date
    May 2006
    Posts
    10

    Default depends-on

    Hello,

    in my current project I'm trying to use the Spring Actionscript framework.

    Is it possible to force one or more objects to be initialized before the object using this element is initialized?

    In Java we have the "depends-on" attribute for such cases.

    Thank you!

    hanso

  2. #2
    Join Date
    Dec 2008
    Location
    Aurora, CO, USA
    Posts
    24

    Default

    If I remember the docs correctly, the library initializes the items in the order they are defined in the applicationContext.xml file. Top to bottom, nested to parent.

    So all you have to do is order the items you want initialized first, and then use <ref> elements to point to them.

    Adam

  3. #3
    Join Date
    Oct 2008
    Location
    Belgium
    Posts
    160

    Default

    Hi,

    there currently is no support for depends-on. References will be successfully handled though, but then of course you have to explicitely reference the dependencies in the context with the ref keyword.

    Please file a feature request in the Jira: http://jira.springframework.org/brow...ACTIONSCRIPTAS I'll take a look at it asap.

    regards,
    Christophe
    Christophe Herreman
    Spring ActionScript Founder
    http://www.herrodius.com

Posting Permissions

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