URLClassLoader loader = new URLClassLoader(urls, getClass().getClassLoader());
Class<?> clazz;
try {
clazz = Class.forName(aConfig.getServerInstanceClass(), true, loader);
} catch (ClassNotFoundException e) {
throw new ConfigurationException(String.format("Class '%s' defined by for server '%s' does not exist.", aConfig.getServerInstanceClass(),
aConfig.getServerId()), e);
}
return clazz.asSubclass(ServerInstance.class);
}