Zemian Deng [http://community.jboss.org/people/saltnlight5] replied to the 
discussion

"Is it possible to add classloader root with wildcard pattern?"

To view the discussion, visit: http://community.jboss.org/message/552240#552240

--------------------------------------------------------------
Thanks for replying,

I said "hard", I don't mean there a lot of code I need to handle. I meant that 
if the class would provide a setter method for vfsRoots, then subcass won't 
need to cut/paste to repeat code. It not a big deal, and I get that part.


What I still not clear on is what is the proper way for me to extend n provide 
a new classloader element that will take my wildcard expression for a depoyment 
xml. So if I were to extends it like this:

<pattern-classloader bean="my-cl">
     <root filename-re-pattern=".*\.jar">file:///opt/mylib</root>
</pattern-classloader>


Do I need to write a custom deployer to create the BeanMetaData?

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/552240#552240]

Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to