// Create the empty management security resources
context.createResource(PathAddress.pathAddress(PathElement.pathElement(CORE_SERVICE, MANAGEMENT)));
// Wire in the platform mbean resources. We're bypassing the context.createResource API here because
// we want to use our own resource type. But it's ok as the createResource calls above have taken the lock
rootResource.registerChild(PlatformMBeanConstants.ROOT_PATH, new RootPlatformMBeanResource());
final String localHostName = operation.require(NAME).asString();
model.get(NAME).set(localHostName);
hostControllerInfo.setLocalHostName(localHostName);