[유치수] [NOBTS] test.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@2055 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Chisu Yu
2013-07-31 23:46:25 +00:00
parent 1a9a259aae
commit b0dbe7bcae
@@ -35,14 +35,14 @@ public class CubridStatementModifier extends AbstractModifier {
statementClass.addInterceptor("executeQuery", new String[] { "java.lang.String" }, new StatementExecuteQueryInterceptor());
// TODO 이거 고쳐야 됨.
Interceptor executeUpdate1 = byteCodeInstrumentor.newInterceptor(classLoader, protectedDomain, "com.nhn.pinpoint.profiler.modifier.db.interceptor.StatementExecuteUpdateInterceptor");
statementClass.addInterceptor("executeUpdate", new String[] { "java.lang.String" }, executeUpdate1);
// Interceptor executeUpdate1 = byteCodeInstrumentor.newInterceptor(classLoader, protectedDomain, "com.nhn.pinpoint.profiler.modifier.db.interceptor.StatementExecuteUpdateInterceptor");
// statementClass.addInterceptor("executeUpdate", new String[] { "java.lang.String" }, executeUpdate1);
Interceptor executeUpdate2 = byteCodeInstrumentor.newInterceptor(classLoader, protectedDomain, "com.nhn.pinpoint.profiler.modifier.db.interceptor.StatementExecuteUpdateInterceptor");
statementClass.addInterceptor("executeUpdate", new String[] { "java.lang.String", "int" }, executeUpdate2);
Interceptor executeUpdate3 = byteCodeInstrumentor.newInterceptor(classLoader, protectedDomain, "com.nhn.pinpoint.profiler.modifier.db.interceptor.StatementExecuteUpdateInterceptor");
statementClass.addInterceptor("execute", new String[] { "java.lang.String" }, executeUpdate3);
// Interceptor executeUpdate3 = byteCodeInstrumentor.newInterceptor(classLoader, protectedDomain, "com.nhn.pinpoint.profiler.modifier.db.interceptor.StatementExecuteUpdateInterceptor");
// statementClass.addInterceptor("execute", new String[] { "java.lang.String" }, executeUpdate3);
Interceptor executeUpdate4 = byteCodeInstrumentor.newInterceptor(classLoader, protectedDomain, "com.nhn.pinpoint.profiler.modifier.db.interceptor.StatementExecuteUpdateInterceptor");
statementClass.addInterceptor("execute", new String[] { "java.lang.String", "int" }, executeUpdate4);