|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MonProxyLabelerInt
This method is called by MonProxy to determine the jamon summary label for each method invoked. It also creates a monitor when the interface throws an exception. getSummaryLabel(...) and getExceptionLabel(...) are called respectively for each type of monitor. You can replace the default implementation with your own should you want. Simply call MonProxy.setLabeler(...) and it will be used. Note you should implement public Object clone().
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getExceptionLabel(java.lang.reflect.Method method)
When an exception is thrown this returns what jamon label do you want to use |
java.lang.String |
getSummaryLabel(java.lang.reflect.Method method)
Summary label that you want jamon to use |
void |
init(MonProxy monProxy)
Note init is called at time of initialization. |
Method Detail |
---|
java.lang.String getSummaryLabel(java.lang.reflect.Method method)
java.lang.String getExceptionLabel(java.lang.reflect.Method method)
void init(MonProxy monProxy)
java.lang.Object clone()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |