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
|
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)
|
MethodMonitorBase.MethodMonitorFactorySelfImpl
public MethodMonitorBase.MethodMonitorFactorySelfImpl(String name)
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.