cmdRegistry.registerHandler(new BatchRemoveLineHandler(), "remove-batch-line");
cmdRegistry.registerHandler(new BatchMoveLineHandler(), "move-batch-line");
cmdRegistry.registerHandler(new BatchEditLineHandler(), "edit-batch-line");
// data-source
cmdRegistry.registerHandler(new GenericTypeOperationHandler(this, "/subsystem=datasources/data-source", null), "data-source");
cmdRegistry.registerHandler(new GenericTypeOperationHandler(this, "/subsystem=datasources/xa-data-source", null), "xa-data-source");
// deprecated and hidden from the tab-completion
cmdRegistry.registerHandler(new DataSourceAddHandler(this), false, "add-data-source");
cmdRegistry.registerHandler(new DataSourceModifyHandler(this), false, "modify-data-source");
cmdRegistry.registerHandler(new DataSourceRemoveHandler(this), false, "remove-data-source");
cmdRegistry.registerHandler(new XADataSourceAddHandler(this), false, "add-xa-data-source");
cmdRegistry.registerHandler(new XADataSourceRemoveHandler(this), false, "remove-xa-data-source");
cmdRegistry.registerHandler(new XADataSourceModifyHandler(this), false, "modify-xa-data-source");
// JMS
cmdRegistry.registerHandler(new GenericTypeOperationHandler(this, "/subsystem=messaging/hornetq-server=default/jms-queue", "queue-address"), "jms-queue");
cmdRegistry.registerHandler(new GenericTypeOperationHandler(this, "/subsystem=messaging/hornetq-server=default/jms-topic", "topic-address"), "jms-topic");
cmdRegistry.registerHandler(new GenericTypeOperationHandler(this, "/subsystem=messaging/hornetq-server=default/connection-factory", null), "connection-factory");
// deprecated and hidden from the tab-completion
cmdRegistry.registerHandler(new JmsQueueAddHandler(this), false, "add-jms-queue");
cmdRegistry.registerHandler(new JmsQueueRemoveHandler(this), false, "remove-jms-queue");
cmdRegistry.registerHandler(new JmsTopicAddHandler(this), false, "add-jms-topic");
cmdRegistry.registerHandler(new JmsTopicRemoveHandler(this), false, "remove-jms-topic");
cmdRegistry.registerHandler(new JmsCFAddHandler(this), false, "add-jms-cf");
cmdRegistry.registerHandler(new JmsCFRemoveHandler(this), false, "remove-jms-cf");
// these are used for the cts setup
cmdRegistry.registerHandler(new CreateJmsResourceHandler(this), false, "create-jms-resource");
cmdRegistry.registerHandler(new DeleteJmsResourceHandler(this), false, "delete-jms-resource");
// rollout plan
final GenericTypeOperationHandler rolloutPlan = new GenericTypeOperationHandler(this, "/management-client-content=rollout-plans/rollout-plan", null);
rolloutPlan.addValueConverter("content", new HeadersArgumentValueConverter(this));
rolloutPlan.addValueCompleter("content", RolloutPlanCompleter.INSTANCE);
cmdRegistry.registerHandler(rolloutPlan, "rollout-plan");
// supported but hidden from tab-completion until stable implementation
cmdRegistry.registerHandler(new ArchiveHandler(this), false, "archive");
}