root.registerSubModel(ServerEnvironmentResourceDescription.of(serverEnvironment));
}
// System Properties
ManagementResourceRegistration sysProps = root.registerSubModel(PathElement.pathElement(SYSTEM_PROPERTY), ServerDescriptionProviders.SYSTEM_PROPERTIES_PROVIDER);
SystemPropertyAddHandler spah = new SystemPropertyAddHandler(serverEnvironment, false);
sysProps.registerOperationHandler(SystemPropertyAddHandler.OPERATION_NAME, spah, spah, false);
SystemPropertyRemoveHandler sprh = new SystemPropertyRemoveHandler(serverEnvironment);
sysProps.registerOperationHandler(SystemPropertyRemoveHandler.OPERATION_NAME, sprh, sprh, false);
SystemPropertyValueWriteAttributeHandler spvwah = new SystemPropertyValueWriteAttributeHandler(serverEnvironment);
sysProps.registerReadWriteAttribute(VALUE, null, spvwah, AttributeAccess.Storage.CONFIGURATION);