Class MetricHandler<C>

java.lang.Object
org.jboss.as.controller.AbstractRuntimeOnlyHandler
org.jboss.as.clustering.controller.MetricHandler<C>
All Implemented Interfaces:
ManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>, org.jboss.as.controller.OperationStepHandler

public class MetricHandler<C> extends org.jboss.as.controller.AbstractRuntimeOnlyHandler implements ManagementRegistrar<org.jboss.as.controller.registry.ManagementResourceRegistration>
Generic OperationStepHandler for runtime metrics.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • register

      public void register(org.jboss.as.controller.registry.ManagementResourceRegistration registration)
      Description copied from interface: ManagementRegistrar
      Registers this object with a resource.
      Specified by:
      register in interface ManagementRegistrar<C>
      Parameters:
      registration - a registration for a management resource
    • executeRuntimeStep

      protected void executeRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)
      Specified by:
      executeRuntimeStep in class org.jboss.as.controller.AbstractRuntimeOnlyHandler