[jboss-dev-forums] [Design the new POJO MicroContainer] - New ClassLoader initial checkin
adrian@jboss.org
do-not-reply at jboss.com
Fri Apr 27 06:40:17 EDT 2007
The new ClassLoader is in SVN.
https:/svn.jboss.org/repos/jbossas/projects/microcontainer/trunk/classloader
(for non jboss committers replace https://svn.jboss.org/... with http://anonsvn.jboss.org/
when the mirroring catches up).
First some housekeeping points.
1) Although I committed this to the microcontainer project, it doesn't really belong there.
It's only real dependency is the jboss logger.
I'm leaving it their for now while I work on the VFS/Deployer integration.
Eventually it should be moved to a top level project.
2) The original intention was to use the Felix ClassLoader and retrofit it with
UnifiedClassLoader/Repository like behaviour. In fact, it was easier to refactor
the UCL/R style classloader to add OSGI style behaviour.
The only things I've really used from the felix as the idea of delegate/filtered
classloaders and the hack you can find in ClassLoaderUtils::isRequestFromJDK()
This was mainly because the Felix classloader links directly into the OSGi
module system and more importantly doesn't include the fixes/workarounds
for the ClassCircularityError/deadlock problems.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041335#4041335
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041335
More information about the jboss-dev-forums
mailing list