Source:
<code>public void registerChildren(ManagementResourceRegistration resourceRegistration) { super.registerChildren(resourceRegistration); resourceRegistration.registerSubModel(SystemPropertyResourceDefinition.createForDomainOrHost(Location.DOMAIN)); resourceRegistration.registerSubModel(new InterfaceDefinition( InterfaceAddHandler.NAMED_INSTANCE, InterfaceRemoveHandler.INSTANCE, false )); <START> final ManagementResourceRegistration coreMgmt = resourceRegistration.registerSubModel(CoreManagementResourceDefinition.forDomain(authorizer, bootErrorCollector)); <END> coreMgmt.registerSubModel(new HostConnectionResourceDefinition(hostRegistrations)); resourceRegistration.registerSubModel(new ProfileResourceDefinition(extensionRegistry)); resourceRegistration.registerSubModel(PathResourceDefinition.createNamed(pathManager)); ResourceDefinition domainDeploymentDefinition = isMaster ? DomainDeploymentResourceDefinition.createForDomainMaster(contentRepo) : DomainDeploymentResourceDefinition.createForDomainSlave(environment.isBackupDomainFiles(), fileRepository); resourceRegistration.registerSubModel(domainDeploymentDefinition); resourceRegistration.registerSubModel(new DeploymentOverlayDefinition(null, contentRepo, fileRepository)); resourceRegistration.registerSubModel(new ServerGroupResourceDefinition(isMaster, hostControllerInfo, fileRepository, runtimeIgnoreTransformationRegistry)); resourceRegistration.registerSubModel(new SocketBindingGroupResourceDefinition( SocketBindingGroupAddHandler.INSTANCE, DomainSocketBindingGroupRemoveHandler.INSTANCE, true, SocketBindingResourceDefinition.INSTANCE, RemoteDestinationOutboundSocketBindingResourceDefinition.INSTANCE, LocalDestinationOutboundSocketBindingResourceDefinition.INSTANCE)); resourceRegistration.registerSubModel( new ManagedDMRContentTypeResourceDefinition(contentRepo, ROLLOUT_PLAN, PathElement.pathElement(MANAGEMENT_CLIENT_CONTENT, ROLLOUT_PLANS), new RolloutPlanValidator(), DomainResolver.getResolver(ROLLOUT_PLANS), DomainResolver.getResolver(ROLLOUT_PLAN))); resourceRegistration.registerSubModel(new ExtensionResourceDefinition(extensionRegistry, true, false, !isMaster)); DomainTransformers.initializeDomainRegistry(extensionRegistry.getTransformerRegistry()); }</code><technical_language>This registered here. domain boot errors, represents a multi-process entity. hosts boot errors. domain controller is another host; boot errors in host=xxx tree</technical_language>

Target:
public void registerChildren(ManagementResourceRegistration resourceRegistration) { super.registerChildren(resourceRegistration); resourceRegistration.registerSubModel(SystemPropertyResourceDefinition.createForDomainOrHost(Location.DOMAIN)); resourceRegistration.registerSubModel(new InterfaceDefinition( InterfaceAddHandler.NAMED_INSTANCE, InterfaceRemoveHandler.INSTANCE, false )); final ManagementResourceRegistration coreMgmt = resourceRegistration.registerSubModel(CoreManagementResourceDefinition.forDomain(authorizer)); coreMgmt.registerSubModel(new HostConnectionResourceDefinition(hostRegistrations)); resourceRegistration.registerSubModel(new ProfileResourceDefinition(extensionRegistry)); resourceRegistration.registerSubModel(PathResourceDefinition.createNamed(pathManager)); ResourceDefinition domainDeploymentDefinition = isMaster ? DomainDeploymentResourceDefinition.createForDomainMaster(contentRepo) : DomainDeploymentResourceDefinition.createForDomainSlave(environment.isBackupDomainFiles(), fileRepository); resourceRegistration.registerSubModel(domainDeploymentDefinition); resourceRegistration.registerSubModel(new DeploymentOverlayDefinition(null, contentRepo, fileRepository)); resourceRegistration.registerSubModel(new ServerGroupResourceDefinition(isMaster, hostControllerInfo, fileRepository, runtimeIgnoreTransformationRegistry)); resourceRegistration.registerSubModel(new SocketBindingGroupResourceDefinition( SocketBindingGroupAddHandler.INSTANCE, DomainSocketBindingGroupRemoveHandler.INSTANCE, true, SocketBindingResourceDefinition.INSTANCE, RemoteDestinationOutboundSocketBindingResourceDefinition.INSTANCE, LocalDestinationOutboundSocketBindingResourceDefinition.INSTANCE)); resourceRegistration.registerSubModel( new ManagedDMRContentTypeResourceDefinition(contentRepo, ROLLOUT_PLAN, PathElement.pathElement(MANAGEMENT_CLIENT_CONTENT, ROLLOUT_PLANS), new RolloutPlanValidator(), DomainResolver.getResolver(ROLLOUT_PLANS), DomainResolver.getResolver(ROLLOUT_PLAN))); resourceRegistration.registerSubModel(new ExtensionResourceDefinition(extensionRegistry, true, false, !isMaster)); DomainTransformers.initializeDomainRegistry(extensionRegistry.getTransformerRegistry()); }