Package org.glassfish.pfl.tf.spi
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 Summary
Fields Modifier and Type Field Description private MethodMonitor
mm
-
Constructor Summary
Constructors Constructor Description MethodMonitorFactorySelfImpl(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodMonitor
create(java.lang.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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.glassfish.pfl.tf.spi.MethodMonitorFactory
name
-
-
-
-
Field Detail
-
mm
private MethodMonitor mm
-
-
Method Detail
-
init
public void init(MethodMonitor mm)
-
create
public MethodMonitor create(java.lang.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.
-
-