[Springnet-developer] Load multiple contexts dinamically
Brought to you by:
aseovic,
markpollack
|
From: Marcos Y. <mar...@gm...> - 2009-03-10 12:51:01
|
Hi guys, I'm learning the framework to develop a web application and I gotta a question about Contexts. I saw that I can load multiples objects with GenericApplicationContext and XmlObjectDefinitionReader, but what I really need is do something that I can append other objects to the *MAIN* context on application Init method. For example, I have two web projects App.Core and App.Module1, where App.Core has a reference to App.Module1. Both projects have Xml with objects definitions. And when I load the App.Core on application Init method I get the xml from App.Module1 to append on the App.Core context. Is that possible? Regards Marcos Yano |