}
NamedPermitManager permitManager = new NamedPermitManager();
permitManager.createNamedPermit("default", cl.getNumWorkPermits());
JobWrappingFactory factory = new JobWrappingFactory(permitManager,
new ReadWriteLockManager(),
cl.getLogDir().getAbsolutePath(),
"java",
ImmutableMap.<String, Class<? extends Job>>of("java", JavaJob.class,
"command", ProcessJob.class,