Class MethodMonitorFactoryBase

java.lang.Object
org.glassfish.pfl.tf.spi.Named
org.glassfish.pfl.tf.spi.MethodMonitorFactoryBase
All Implemented Interfaces:
MethodMonitorFactory
Direct Known Subclasses:
MethodMonitorBase.MethodMonitorFactorySelfImpl

public abstract class MethodMonitorFactoryBase extends Named implements MethodMonitorFactory
  • Field Details

  • Constructor Details

  • Method Details

    • contents

      public final Collection<MethodMonitorFactory> contents()
      Description copied from interface: MethodMonitorFactory
      Returns the contents of this method monitor factory. If it is a composite method monitor factory, all the component MethoMonitorFactory instances are returned. If it is a single MethodMonitorFactory, it just returns itself. It is required that the elements of contents are not composite method monitors, i.e. for each mmf in contants(), mmf.contents.size() == 1.
      Specified by:
      contents in interface MethodMonitorFactory