use of org.jboss.as.controller.OperationStepHandler in project wildfly by wildfly.
the class MappingModuleDefinition method registerAttributes.
@Override
public void registerAttributes(ManagementResourceRegistration resourceRegistration) {
super.registerAttributes(resourceRegistration);
OperationStepHandler writeHandler = new ModelOnlyWriteAttributeHandler(getAttributes());
for (AttributeDefinition attr : getAttributes()) {
resourceRegistration.registerReadWriteAttribute(attr, null, writeHandler);
}
}
Aggregations