private ClassLoader initBootLibrariesOld() throws Exception
{
List<URL> list = getBootURLs();
// Create loaders for each URL
RepositoryClassLoader loader = null;
for (URL url : list)
{
log.debug("Creating loader for URL: " + url);
// This is a boot URL, so key it on itself.
Object[] args = {url, Boolean.TRUE};
String[] sig = {"java.net.URL", "boolean"};
loader = (RepositoryClassLoader) mbeanServer.invoke(DEFAULT_LOADER_NAME, "newClassLoader", args, sig);
}
bootstrapUCLName = loader.getObjectName();
mbeanServer.registerMBean(loader, bootstrapUCLName);
return loader;
}