[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection

marius.bogoevici do-not-reply at jboss.com
Thu May 7 14:41:25 EDT 2009


David,

I added your fixes for scanning directories to VFSResourcePatternResolvingHelper. 

Also, as a note: JBossEnabledResourcePatternResolver will work with Spring 2.5.5, but will have problems on 2.5.6 (because vfszip resources are now assumed to be jars). 

So, for achieving the same result in 2.5.6, you can either:

a) override doFindPathMatchingJarResources too (having both doFindPathMatching*Resources overridden will make this work with either Spring 2.5.5 or 2.5.6)

b) use VFSXmlWebApplicationContext ;)

Marius


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229530#4229530

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229530



More information about the jboss-user mailing list