|
From: <jue...@we...> - 2004-06-23 13:14:39
|
FYI, I've just refined PathMatchingResourcePatternResolver to be able to = retrieve all class path resources with the same name. It actually = inherits this from the new base class ClassPathResourcePatternResolver. http://sourceforge.net/forum/forum.php?thread_id=3D1096825&forum_id=3D250= 340 So "classpath:/beans.xml" will load all beans.xml files in classes = directories or JAR files, if passed into = PathMatchingResourcePatternResolver. Of course, Ant-style file path = patterns like "/WEB-INF/*-context.xml" still work. As this is automatically used by "contextConfigLocation" parameters, = this means that we can specify such a URL for a root web application = context, for example to auto-load all beans.xml files contained in = deployed JAR files in WEB-INF\lib (HiveMind-style)! Juergen DI J=FCrgen H=F6ller Senior System Architect ______________________________________ werk3ATS - division systementwicklung werk3AT informations- und mediensysteme europaplatz 4 A - 4020 linz t. +43 (0) 732 71 65 29 502 f. +43 (0) 732 71 65 29 3 mailto:jue...@we... http://www.werk3at.com ______________________________________ werk3ATS - WIR ENTWICKELN ERFOLG |