| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final MethodMonitorFactory | |
| private final Collection |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | |
| protected | MethodMonitorBase(final String name, final Class<?> cls, final MethodMonitorFactory mmf, Set<MethodMonitor> contents)
|
| Modifier and Type | Method and Description |
|---|---|
| public final Collection | contents()
Implements org. Returns the contents of this method monitor. |
| public final MethodMonitorFactory | factory()
Implements org. Factory used to create this MethodMonitor Note: is is required that this.factory().create(myClass()).equals( this ) for any MethodMonitor. |
| public final Class | myClass()
Implements org. The class for which this MethodMonitor is defined. |
| cls | back to summary |
|---|---|
| private final Class<?> cls | |
| mmf | back to summary |
|---|---|
| private final MethodMonitorFactory mmf | |
| myContents | back to summary |
|---|---|
| private final Collection<MethodMonitor> myContents | |
| MethodMonitorBase | back to summary |
|---|---|
| protected MethodMonitorBase(final String name, final Class<?> cls) | |
| MethodMonitorBase | back to summary |
|---|---|
| protected MethodMonitorBase(final String name, final Class<?> cls, final MethodMonitorFactory mmf) | |
| MethodMonitorBase | back to summary |
|---|---|
| protected MethodMonitorBase(final String name, final Class<?> cls, final MethodMonitorFactory mmf, Set<MethodMonitor> contents) | |
| contents | back to summary |
|---|---|
| public final Collection Implements org. Doc from org. Returns the contents of this method monitor. If it is a composite method monitor, all the component MethoMonitor instances are returned. If it is a single MethodMonitor, it just returns itself. It is required that a composite method monitor only return MethodMonitor instances which are not themselves composite. | |
| factory | back to summary |
|---|---|
| public final MethodMonitorFactory factory() Implements org. Doc from org. Factory used to create this MethodMonitor Note: is is required that this.factory().create(myClass()).equals( this ) for any MethodMonitor. | |
| myClass | back to summary |
|---|---|
| public final Class Implements org. Doc from org. The class for which this MethodMonitor is defined. | |
| Modifier and Type | Field and Description |
|---|---|
| private MethodMonitor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MethodMonitor | create(Class<?> cls)
Implements org. Return an instance of a MethodMonitor suitable for use in the given class cls, according to the currently registered MethodMonitorFactory instances in the MethodMonitorRegistry. |
| public void |
| mm | back to summary |
|---|---|
| private MethodMonitor mm | |
| MethodMonitorFactorySelfImpl | back to summary |
|---|---|
| public MethodMonitorFactorySelfImpl(String name) | |
| create | back to summary |
|---|---|
| public MethodMonitor create(Class<?> cls) Implements org. Doc from org. Return an instance of a MethodMonitor suitable for use in the given class cls, according to the currently registered MethodMonitorFactory instances in the MethodMonitorRegistry. | |
| init | back to summary |
|---|---|
| public void init(MethodMonitor mm) | |