596061626364656667
// We're using the new classloader from here on out Thread.currentThread().setContextClassLoader(cl); // Go! Class taskClass = cl.loadClass(taskClassName); PlanetTask task = (PlanetTask) taskClass.newInstance(); task.initialize(); task.run(); }