|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jamonapi.proxy.MonProxyLabeler
public class MonProxyLabeler
Standard implementation of creating the jamon label for the MonProxy class. Something like this for method calls. MonProxy-Interface (class=org.hsqldb.jdbcPreparedStatement): public abstract java.sql.ResultSet java.sql.PreparedStatement.executeQuery() throws java.sql.SQLException and this should the method throw an Exception MonProxy-Exception: (class=com.mypackage.MyClass): Exception: public void helloWorld() throws MyException
Constructor Summary | |
---|---|
MonProxyLabeler()
|
|
MonProxyLabeler(java.lang.String summaryPrefix,
java.lang.String exceptionPrefix)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
This method should return an exact copy of this object though it need not be the same instance. |
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 |
getExceptionPrefix()
|
java.lang.String |
getSummaryLabel(java.lang.reflect.Method method)
Summary label that you want jamon to use |
java.lang.String |
getSummaryPrefix()
|
void |
init(MonProxy monProxy)
Note init is called at time of initialization. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonProxyLabeler()
public MonProxyLabeler(java.lang.String summaryPrefix, java.lang.String exceptionPrefix)
Method Detail |
---|
public void init(MonProxy monProxy)
init
in interface MonProxyLabelerInt
public java.lang.String getSummaryLabel(java.lang.reflect.Method method)
MonProxyLabelerInt
getSummaryLabel
in interface MonProxyLabelerInt
public java.lang.String getExceptionLabel(java.lang.reflect.Method method)
MonProxyLabelerInt
getExceptionLabel
in interface MonProxyLabelerInt
public java.lang.String getSummaryPrefix()
public java.lang.String getExceptionPrefix()
public java.lang.Object clone()
clone
in interface MonProxyLabelerInt
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |