use of org.jboss.as.controller.OperationDefinition in project wildfly by wildfly.
the class LogStoreDefinition method registerOperations.
@Override
public void registerOperations(ManagementResourceRegistration resourceRegistration) {
super.registerOperations(resourceRegistration);
final OperationDefinition probe = new SimpleOperationDefinitionBuilder(LogStoreConstants.PROBE, getResourceDescriptionResolver()).setRuntimeOnly().setReadOnly().build();
resourceRegistration.registerOperationHandler(probe, LogStoreProbeHandler.INSTANCE);
}
Aggregations