Ales Justin [
http://community.jboss.org/people/alesj] replied to the discussion
"Is it possible to add classloader root with wildcard pattern?"
To view the discussion, visit:
http://community.jboss.org/message/536890#536890
--------------------------------------------------------------
When writing deployment <classloader>, is it possible to
specify a wildcard parttern like "<lib>/myapp/lib/*.jar</lib>"
instead of single entry at time with <root>?
Again, not out of the box, but
it's only two classes that you need to extend.
New module class (X), so you have your own determineVFSRoots() impl -- which understands
wildcard:
* override VFSClassLoaderPolicyModule
And new XML mapped VFSClassLoaderFactory to override the getModuleClass -- returning X.
* custom <classloader> element
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/536890#536890]
Start a new discussion in JBoss Microcontainer at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]