[jboss-dev-forums] [JBoss Microcontainer Development] - Re: New features in classloading
alesj
do-not-reply at jboss.com
Thu Nov 19 10:33:26 EST 2009
"adrian at jboss.org" wrote : I should also note that the ClassFoundHandler is only invoked when it does
| defineClass()
Is the "// Missing?" piece intentional?
Or is this trying to get best match?
ClassLoaderDomain
| public void classFound(ClassFoundEvent event)
| {
| ClassFoundHandler parent = null;
| Loader parentLoader = getParent();
| if (parentLoader instanceof ClassFoundHandler)
| parent = (ClassFoundHandler) parentLoader;
|
| // Missing? Should there be some call to parent's classFound method?
|
| ClassLoaderPolicy parentPolicy = getClassLoaderPolicy(parentLoader);
| if (parentPolicy != null)
| parent = parentPolicy;
|
| if (parent != null)
| parent.classFound(event);
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266581#4266581
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266581
More information about the jboss-dev-forums
mailing list