private CommandContext commandContext;
public JMXDeploymentManager(JMXConnector jmxConnector) throws IOException {
this.jmxConnector = jmxConnector;
mbServerConnection = jmxConnector.getMBeanServerConnection();
kernel = new KernelDelegate(mbServerConnection);
configurationManager = ConfigurationUtil.getConfigurationManager(kernel);
commandContext = new CommandContext();
commandContext.setLogErrors(true);
commandContext.setVerbose(true);
}