if (toolClass != null) {
try {
DeployImageClassLoader loader = DeployImageClassLoader.
getInstance(toolDesc.getLocationType(),
toolDesc.getLocation(), getClass().getClassLoader());
Class c = loader.loadClass(toolClass);
tools[i] = new ToolWrapper(c, ctx);
logger.fine("Trying to run tool " + c.getName());
tools[i].configure(toolNames[i], path, outDir, host, CmdAgentImpl.getHandle(), latch);
} catch (ClassNotFoundException ce) {
logger.log(Level.WARNING, "Class " + toolClass + " not found");