Class MethodMonitorBase.MethodMonitorFactorySelfImpl

java.lang.Object
org.glassfish.pfl.tf.spi.Named
org.glassfish.pfl.tf.spi.MethodMonitorFactoryBase
org.glassfish.pfl.tf.spi.MethodMonitorBase.MethodMonitorFactorySelfImpl
All Implemented Interfaces:
MethodMonitorFactory
Enclosing class:
MethodMonitorBase

public static class MethodMonitorBase.MethodMonitorFactorySelfImpl extends MethodMonitorFactoryBase
  • Field Details

  • Constructor Details

    • MethodMonitorFactorySelfImpl

      public MethodMonitorFactorySelfImpl(String name)
  • Method Details

    • init

      public void init(MethodMonitor mm)
    • create

      public MethodMonitor create(Class<?> cls)
      Description copied from interface: MethodMonitorFactory
      Return an instance of a MethodMonitor suitable for use in the given class cls, according to the currently registered MethodMonitorFactory instances in the MethodMonitorRegistry.
      Parameters:
      cls - The class for which we need the MethodMonitor.
      Returns:
      The MethodMonitor for cls.