org.glassfish.pfl.tf.spi
Class MethodMonitorBase.MethodMonitorFactorySelfImpl

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

public static class MethodMonitorBase.MethodMonitorFactorySelfImpl
extends MethodMonitorFactoryBase


Constructor Summary
MethodMonitorBase.MethodMonitorFactorySelfImpl(String name)
           
 
Method Summary
 MethodMonitor create(Class<?> cls)
          Return an instance of a MethodMonitor suitable for use in the given class cls, according to the currently registered MethodMonitorFactory instances in the MethodMonitorRegistry.
 void init(MethodMonitor mm)
           
 
Methods inherited from class org.glassfish.pfl.tf.spi.MethodMonitorFactoryBase
contents
 
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
name
 

Constructor Detail

MethodMonitorBase.MethodMonitorFactorySelfImpl

public MethodMonitorBase.MethodMonitorFactorySelfImpl(String name)
Method Detail

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.


Copyright © 2013 Oracle. All Rights Reserved.