|
||||||||||
| 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 | |
|---|---|
Collection<MethodMonitorFactory> |
contents()
Returns the contents of this method monitor factory. |
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. |
String |
name()
The name of this mmf. |
| Method Detail |
|---|
MethodMonitor create(Class<?> cls)
cls - The class for which we need the MethodMonitor.
Collection<MethodMonitorFactory> contents()
String name()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||