[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Moving out of the UnifiedClassloaders
adrian@jboss.org
do-not-reply at jboss.com
Fri Jan 11 07:46:14 EST 2008
"alesj" wrote :
| This is Scanner code from Seam.
|
| | protected void scan()
| | {
| |
| | ...
| | for ( URL url: getURLsFromClassLoader() )
| |
|
What is getURLsFromClassLoader()?
The new Classloader is not a URLClassLoader so there is no getURLs().
Looks a wrong/bad assumption to me. :-)
This looks like the same issue as was raised for Hibernate
in the context of the embedded server.
The way to scan/vist to 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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119030#4119030
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119030
More information about the jboss-dev-forums
mailing list