"alesj" wrote : We are already able to track when the ClassLoader goes away:
| when the Module is discarded --> ClassLoading::removeModule.
|
| And this is what I already fixed, so that the RegisterModuleCallback is part of this
ClassLoading::removeModule call.
| It just looks like this doesn't do all the things we need to properly cleanup
ClassPools.
|
I'm not properly cleaning up ClassPools:
public synchronized void removeModule(Module module)
| {
| logger.debug("Removing module " + module);
| registeredModules.remove(module);
| unregisteredModules.remove(module);
| }
I need to invoke ClassPoolRepository.getInstance().unregisterClassLoader(ClassLoader). But
how do I get the Module's classloader if Module.getClassLoader() is protected?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260761#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...