Announcement Announcement Module
Collapse
No announcement yet.
Include another spring-bean descriptor Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Include another spring-bean descriptor

    hi, I am using the ClassPathXmlApplicationContext to load my beans. But i have some set of beans that are usable in another application, so I extracted them out in a common xml. I am using XInclude to include this common xml, which works fine except it shows error when opened in eclipse IDE.

    I was wondering if there is another way predefined by Spring framework to include one or more bean descriptors and if I could use that instead of XInclude. This will also buy me the option to specify the name of the dependency xml file (file to include) as an environment variable.
    Thanks.

  • #2
    Spring has import functionality.

    Joerg

    Comment

    Working...
    X