|
From: Kirill M. <ki...@ma...> - 2004-06-10 08:41:34
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 jürgen höller [werk3AT] wrote: | We've got an enhancements request in JIRA, currently for the 1.0.3 timeframe: | | http://opensource.atlassian.com/projects/spring/browse/SPR-137 | | Essentially, it's about an <import> tag that allows to specify imports within an application context XML file rather than in an external "contextConfigLocation" setting - imports driven by the XML file itself rather than from the outside. | | <import file='imported.xml'/> | | <beans> | | ... | | </beans> | | Something similar can already be achieved with XML entity includes, but those are arguably not very convenient to use. XWork has such an <import> tag, BTW; Mike Cannon-Brookes has already suggested this for Spring a couple of months ago too. | | I wouldn't mind adding such an option, although I still prefer external contextConfigLocations. It does have some effects on our XmlBeanDefinitionReader/Parser signatures, though, as a ResourceLoader is needed by the parser now for resolving those import locations. This indicates that it might be better to introduce this for 1.1 rather than for 1.0.3, I guess. ~ I've attached a CVS-based patch to the request which implements this ~ feature without changing the interface of Reader/Parser. Only ~ Resource interface is affected. | | Thoughts? | | Juergen | | | ------------------------------------------------------- | This SF.Net email is sponsored by the new InstallShield X. |>From Windows to Linux, servers to mobile, InstallShield X is the one | installation-authoring solution that does it all. Learn more and | evaluate today! http://www.installshield.com/Dev2Dev/0504 | _______________________________________________ | Springframework-developer mailing list | Spr...@li... | https://lists.sourceforge.net/lists/listinfo/springframework-developer | - -- Kirill Maximov (aka KIR) | http://www.maxkir.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAyB64E0YZ3264U5QRAvWoAJwOiMHopFMMLec0Y97oO6T9pUAz1ACfYprN +0xzl/R6J3i4nSgEfSs0XdQ= =xLS4 -----END PGP SIGNATURE----- |