org.glassfish.pfl.tf.spi
Class MethodMonitorFactoryBase

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

public abstract class MethodMonitorFactoryBase
extends Named
implements MethodMonitorFactory


Constructor Summary
MethodMonitorFactoryBase(String name)
           
 
Method Summary
 Collection<MethodMonitorFactory> contents()
          Returns the contents of this method monitor factory.
 
Methods inherited from class org.glassfish.pfl.tf.spi.Named
equals, hashCode, name, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.glassfish.pfl.tf.spi.MethodMonitorFactory
create, name
 

Constructor Detail

MethodMonitorFactoryBase

public MethodMonitorFactoryBase(String name)
Method Detail

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


Copyright © 2013 Oracle. All Rights Reserved.