Class AbstractRuntimeMetricsHandler

java.lang.Object
org.jboss.as.controller.AbstractRuntimeOnlyHandler
org.jboss.as.ejb3.subsystem.deployment.AbstractRuntimeMetricsHandler
All Implemented Interfaces:
org.jboss.as.controller.OperationStepHandler

public abstract class AbstractRuntimeMetricsHandler extends org.jboss.as.controller.AbstractRuntimeOnlyHandler
Author:
Carlo de Wolf
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
    executeReadMetricStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, EJBComponent component)
     
    protected void
    executeRuntimeStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation)
     
    protected static String
    resolveRuntimeName(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.PathElement address)
    Resolves runtime name of model resource.

    Methods inherited from class org.jboss.as.controller.AbstractRuntimeOnlyHandler

    execute, requiresRuntime, resourceMustExist

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractRuntimeMetricsHandler

      public AbstractRuntimeMetricsHandler()
  • Method Details

    • executeReadMetricStep

      protected abstract void executeReadMetricStep(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, EJBComponent component) throws org.jboss.as.controller.OperationFailedException
      Throws:
      org.jboss.as.controller.OperationFailedException
    • executeRuntimeStep

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

      protected static String resolveRuntimeName(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.PathElement address)
      Resolves runtime name of model resource.
      Parameters:
      context - - operation context in which handler is invoked
      address - - deployment address
      Returns:
      runtime name of module. Value which is returned is never null.