// the same asset database, because the URL handlers for asset
// URLs will always map to this classloader. For the purpose of
// most scalability tests, this should be fine.
ClassLoader loader = new URLClassLoader(jarUrls, getClass().getClassLoader());
Class c = loader.loadClass("org.jdesktop.wonderland.client.jme.WonderlandURLStreamHandlerFactory");
URLStreamHandlerFactory factory = (URLStreamHandlerFactory) c.newInstance();
URL.setURLStreamHandlerFactory(factory);
} catch (ClassNotFoundException cnfe) {
throw new ProcessingException(cnfe);
} catch (InstantiationException ie) {
throw new ProcessingException(ie);