[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Moving out of the UnifiedClassloaders
alesj
do-not-reply at jboss.com
Fri Jan 11 08:22:47 EST 2008
"adrian at jboss.org" wrote :
| What is getURLsFromClassLoader()?
| The new Classloader is not a URLClassLoader so there is no getURLs().
|
In our case the resourceName != null, so that part was obviously not used. :-)
But I still don't see where the non vfs URLs came from, or the duplicates.
"adrian at jboss.org" wrote :
| Looks a wrong/bad assumption to me. :-)
|
A deprecated assumption. ;-)
"adrian at jboss.org" wrote :
| This looks like the same issue as was raised for Hibernate
| in the context of the embedded server.
|
Only in embedded or the whole AS5?
Is this about the Hibernate core or AS's Hibernate-int?
I already did a simple VFS introduction into Hibernate class, but that also needs fixing, since it also assumes URLCL.
"adrian at jboss.org" wrote :
| The way to scan/visit the deployment structure needs to be pluggable.
| You can't just assume it is a jar or file structure if we want to handle abitrary
| virtual files.
|
I was able to do minor 'hacks' for beta3 to make it work.
But I agree, and so does Pete, this needs rewriting into pluggable impl.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119052#4119052
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119052
More information about the jboss-dev-forums
mailing list