/** * called by the facade class loader when it is garbage collected. * this is a good time to see if this module should be unloaded. */ @Override public void stop() { // we should only detach if the sticky flag is not set if (!module.isSticky()) { LogHelper.getDefaultLogger().info("ModuleClassLoader stopped " + module.getModuleDefinition().getName()); super.stop(); module.stop(); } }
/** * called by the facade class loader when it is garbage collected. * this is a good time to see if this module should be unloaded. */ @Override public void stop() { // we should only detach if the sticky flag is not set if (!module.isSticky()) { LogHelper.getDefaultLogger().info("ModuleClassLoader stopped " + module.getModuleDefinition().getName()); super.stop(); module.stop(); } }