@Override
 protected void initializeExtraSubystemsAndModel(
     ExtensionRegistry extensionRegistry,
     Resource rootResource,
     ManagementResourceRegistration rootRegistration,
     RuntimeCapabilityRegistry capabilityRegistry) {
   super.initializeExtraSubystemsAndModel(
       extensionRegistry, rootResource, rootRegistration, capabilityRegistry);
   Map<String, Class> capabilities = new HashMap<>();
   capabilities.put(
       buildDynamicCapabilityName(
           ListenerResourceDefinition.IO_WORKER_CAPABILITY,
           ListenerResourceDefinition.WORKER.getDefaultValue().asString()),
       XnioWorker.class);
   capabilities.put(
       buildDynamicCapabilityName(
           ListenerResourceDefinition.IO_WORKER_CAPABILITY, "non-default"),
       XnioWorker.class);
   capabilities.put(
       buildDynamicCapabilityName(
           ListenerResourceDefinition.IO_BUFFER_POOL_CAPABILITY,
           ListenerResourceDefinition.BUFFER_POOL.getDefaultValue().asString()),
       Pool.class);
   for (String entry : sockets.keySet()) {
     capabilities.put(
         buildDynamicCapabilityName(ListenerResourceDefinition.SOCKET_CAPABILITY, entry),
         SocketBinding.class);
   }
   registerServiceCapabilities(capabilityRegistry, capabilities);
 }
 public static void doExtraInitialization(
     AdditionalInitialization additionalInit,
     ControllerInitializer controllerInitializer,
     ExtensionRegistry extensionRegistry,
     Resource rootResource,
     ManagementResourceRegistration rootRegistration) {
   // TODO
   // controllerInitializer.setTestModelControllerService(this);
   // controllerInitializer.initializeModel(rootResource, rootRegistration);
   additionalInit.initializeExtraSubystemsAndModel(
       extensionRegistry, rootResource, rootRegistration);
 }
 public static RunningMode getRunningMode(AdditionalInitialization additionalInit) {
   return additionalInit.getRunningMode();
 }
 public static void initializeModel(
     AdditionalInitialization additionalInit,
     Resource rootResource,
     ManagementResourceRegistration rootRegistration) {
   additionalInit.createControllerInitializer().initializeModel(rootResource, rootRegistration);
 }
 public static ProcessType getProcessType(AdditionalInitialization additionalInit) {
   return additionalInit.getProcessType();
 }