urlArray = (URL[]) urls.toArray(urlArray);
loader = new URLClassLoader(urlArray, parentLoader);
}
Class providerClass = loader.loadClass(className);
provider = (Provider) providerClass.newInstance();
ProviderEnv env = new ProviderEnv(server.getConfig(), name, server.getMessageLogger());
provider.init(env);
}
catch (MalformedURLException ex) {
throw new ProviderLoadException(name, "there is an error in classpath setting", ex);
}