| java.lang.Object com.jamonapi.proxy.MonProxy com.jamonapi.proxy.JDBCMonProxy
JDBCMonProxy | class JDBCMonProxy extends MonProxy (Code) | | Class that implements JDBC specific proxied monitoring. The following are monitored by this class 1) All SQL statements executed.
For Statements argument values are replaced by '?' and for CallableStatements and PreparedStatement the original query with the '?'
is used (select * from table where key=?), 2) The first keyword of the SQL command (i.e. select/update/delete/insert/create/...
3) String matches. Developers pass in these strings. This is useful for tracking table accesses, 4) SQL Details. This keeps track
of the most recent N queries.
In addition the standard MonProxy stats are tracked (Interface method calls, and Exception details).
|
invoke | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable(Code) | | Method that monitors method invocations of the proxied interface. This method is not explicitly called.
The Proxy class automatically calls it.
|
|
|