ControllerContext context = allContexts.get(name);
if (context == null)
throw new IllegalStateException("Not installed: " + name);
if (trace)
log.trace("Uninstalling " + context.toShortString());
uninstallContext(context, ControllerState.NOT_INSTALLED, trace);
allContexts.remove(name);
return context;