return (ClassLoader) loaderById.get(id);
}
log.debug("createClassLoader id=" + id + " extConfig=" + extConfig.getClassName());
ClasspathGroupConfig config = (ClasspathGroupConfig) configById.get(id);
ClassLoader classLoader = null;
if (config != null)
{
URL[] urls = HermesBrowser.getConfigDAO().getAdminFactoryURLs();
if (urls != null)
{
classLoader = LoaderSupport.createClassLoader(config.getLibrary(), urls, getClass().getClassLoader());
}
else
{
classLoader = LoaderSupport.createClassLoader(config.getLibrary(), getClass().getClassLoader());
}
loaderById.put(id, classLoader);
}
else