[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Need better class file support in vfs
adrian@jboss.org
do-not-reply at jboss.com
Wed Nov 7 07:56:46 EST 2007
I don't understand why this is difficult?
You already know the root you are visiting from the getClassPath(),
so isn't it just a case of removing it.
Of course, some of the roots maybe nested inside the root you are visiting
(nested deployments), but it should be fairly easy to detect this and ignore
them since you will visit that specific root anyway?
i.e. in your example where you have
jms.rar/jms.jar/package/some.class
So the roots in the getClassPath() woud be
jms.rar
jms.rar/jms.jar
When visiting jms.rar you would ignore the jms.rar/jms.jar because that is in the classpath.
When you visit jms.rar/jms.rar you simply remove the root from the path:
{jms.rar/jms.jar/}package/some.class
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102521#4102521
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102521
More information about the jboss-dev-forums
mailing list