Menu

#5 Import tag

open
None
5
2007-11-27
2007-11-26
No

Add support for the import tag that allows to include object definitions from another file.

See http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-factory-xml-import

Discussion

  • Christophe Herreman

    • assigned_to: nobody --> crydust
     
  • Christophe Herreman

    Logged In: YES
    user_id=1084141
    Originator: YES

    We should probably break this up into 2 things:
    1. it should be possible to add an array of xml context paths to the XmlObjectDefinitionsLoader instead of just one.
    2. an <import> tag should allow referencing other xml context files

    In general the parser should only be aware of 1 xml file. That means the different xml files should be loaded and merged into 1 big file before being send to the parser.

     

Log in to post a comment.