public HttpManagementResourceDefinition(
     final LocalHostControllerInfoImpl hostControllerInfo,
     final HostControllerEnvironment environment) {
   super(
       RESOURCE_PATH,
       HostModelUtil.getResourceDescriptionResolver("core", "management", "http-interface"),
       new HttpManagementAddHandler(hostControllerInfo, environment),
       new HttpManagementRemoveHandler(hostControllerInfo, environment),
       OperationEntry.Flag.RESTART_NONE,
       OperationEntry.Flag.RESTART_NONE);
   this.hostControllerInfo = hostControllerInfo;
   this.environment = environment;
   this.accessConstraints =
       SensitiveTargetAccessConstraintDefinition.MANAGEMENT_INTERFACES.wrapAsList();
 }
 public HostResourceDefinition(
     final String hostName,
     final HostControllerConfigurationPersister configurationPersister,
     final HostControllerEnvironment environment,
     final HostRunningModeControl runningModeControl,
     final HostFileRepository localFileRepository,
     final LocalHostControllerInfoImpl hostControllerInfo,
     final ServerInventory serverInventory,
     final HostFileRepository remoteFileRepository,
     final ContentRepository contentRepository,
     final DomainController domainController,
     final ExtensionRegistry extensionRegistry,
     final AbstractVaultReader vaultReader,
     final IgnoredDomainResourceRegistry ignoredRegistry,
     final ControlledProcessState processState,
     final PathManagerService pathManager,
     final DelegatingConfigurableAuthorizer authorizer,
     final ManagedAuditLogger auditLogger,
     final BootErrorCollector bootErrorCollector) {
   super(PathElement.pathElement(HOST, hostName), HostModelUtil.getResourceDescriptionResolver());
   this.configurationPersister = configurationPersister;
   this.environment = environment;
   this.runningModeControl = runningModeControl;
   this.localFileRepository = localFileRepository;
   this.hostControllerInfo = hostControllerInfo;
   this.serverInventory = serverInventory;
   this.remoteFileRepository = remoteFileRepository;
   this.contentRepository = contentRepository;
   this.domainController = domainController;
   this.extensionRegistry = extensionRegistry;
   this.vaultReader = vaultReader;
   this.ignoredRegistry = ignoredRegistry;
   this.processState = processState;
   this.pathManager = pathManager;
   this.authorizer = authorizer;
   this.auditLogger = auditLogger;
   this.bootErrorCollector = bootErrorCollector;
 }