|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MethodMonitorFactory
Since each MethodMonitor generally needs a reference to the class it is monitoring, we actually work with MethodMonitorFactory instances instead of simply using MethodMonitor.
| Method Summary | |
|---|---|
java.util.Collection<MethodMonitorFactory> |
contents()
Returns the contents of this method monitor factory. |
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. |
java.lang.String |
name()
The name of this mmf. |
| Method Detail |
|---|
MethodMonitor create(java.lang.Class<?> cls)
cls - The class for which we need the MethodMonitor.
java.util.Collection<MethodMonitorFactory> contents()
java.lang.String name()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||