/* if module is loaded, remove it. */
if( loadedModules.containsKey(moduleClassName) ) {
/* notify module it was unloaded */
module = (AbstractModule)loadedModules.get(moduleClassName);
module.onUnload();
ClassLoader loader = module.getClass().getClassLoader();
loader = null;
module = null;