}
@Override
public void registerAttributes(ManagementResourceRegistration registration) {
super.registerAttributes(registration);
InterfaceCriteriaWriteHandler handler = updateRuntime ? InterfaceCriteriaWriteHandler.UPDATE_RUNTIME : InterfaceCriteriaWriteHandler.CONFIG_ONLY;
for (final AttributeDefinition def : InterfaceDefinition.ROOT_ATTRIBUTES) {
registration.registerReadWriteAttribute(def, null, handler);
}
registration.registerReadOnlyAttribute(InterfaceDefinition.NAME, ReadResourceNameOperationStepHandler.INSTANCE);
}