public abstract class MethodMonitorBase extends Named implements MethodMonitor
Modifier and Type | Class and Description |
---|---|
static class |
MethodMonitorBase.MethodMonitorFactorySelfImpl |
Modifier | Constructor and Description |
---|---|
protected |
MethodMonitorBase(java.lang.String name,
java.lang.Class<?> cls) |
protected |
MethodMonitorBase(java.lang.String name,
java.lang.Class<?> cls,
MethodMonitorFactory mmf) |
protected |
MethodMonitorBase(java.lang.String name,
java.lang.Class<?> cls,
MethodMonitorFactory mmf,
java.util.Set<MethodMonitor> contents) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<MethodMonitor> |
contents()
Returns the contents of this method monitor.
|
MethodMonitorFactory |
factory()
Factory used to create this MethodMonitor
Note: is is required that this.factory().create(myClass()).equals( this )
for any MethodMonitor.
|
java.lang.Class<?> |
myClass()
The class for which this MethodMonitor is defined.
|
protected MethodMonitorBase(java.lang.String name, java.lang.Class<?> cls)
protected MethodMonitorBase(java.lang.String name, java.lang.Class<?> cls, MethodMonitorFactory mmf)
protected MethodMonitorBase(java.lang.String name, java.lang.Class<?> cls, MethodMonitorFactory mmf, java.util.Set<MethodMonitor> contents)
public final java.lang.Class<?> myClass()
MethodMonitor
myClass
in interface MethodMonitor
public final MethodMonitorFactory factory()
MethodMonitor
factory
in interface MethodMonitor
public final java.util.Collection<MethodMonitor> contents()
MethodMonitor
contents
in interface MethodMonitor