docs: public static ServiceController<DeploymentScanner> addService(final OperationContext context, final PathAddress resourceAddress, final String relativeTo, final String path,
                                                                    final int scanInterval, TimeUnit unit, final boolean autoDeployZip,
                                                                    final boolean autoDeployExploded, final boolean autoDeployXml, final boolean scanEnabled, final long deploymentTimeout, boolean rollbackOnRuntimeFailure,
                                                                    final FileSystemDeploymentService bootTimeService, final ScheduledExecutorService scheduledExecutorService) {
          final DeploymentScannerService service = new DeploymentScannerService(resourceAddress, relativeTo, path, scanInterval, unit, autoDeployZip,
                  autoDeployExploded, autoDeployXml, scanEnabled, deploymentTimeout, rollbackOnRuntimeFailure, bootTimeService);
          final ServiceName serviceName = getServiceName(resourceAddress.getLastElement().getValue());
          service.scheduledExecutorValue.inject(scheduledExecutorService);
          final ServiceBuilder<DeploymentScanner> sb = context.getServiceTarget().addService(serviceName, service);
          sb.addDependency(context.getCapabilityServiceName(PATH_MANAGER_CAPABILITY, PathManager.class), PathManager.class, service.pathManagerValue);
          sb.addDependency(context.getCapabilityServiceName("org.wildfly.management.notification-handler-registry", null),
                          NotificationHandlerRegistry.class, service.notificationRegistryValue);
          sb.addDependency(context.getCapabilityServiceName("org.wildfly.management.model-controller-client-factory", null),
                          ModelControllerClientFactory.class, service.clientFactoryValue);
          sb.requires(org.jboss.as.server.deployment.Services.JBOSS_DEPLOYMENT_CHAINS);
          sb.addDependency(ControlledProcessStateService.SERVICE_NAME, ControlledProcessStateService.class, service.controlledProcessStateServiceValue);
          return sb.install();
      }