[강운덕] [LUCYSUS-1744] 인터셉터의 작명규칙을 class명+행위 로 통일함.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@655 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2012-09-13 10:06:39 +00:00
parent ff6c620e48
commit 5941ac02b1
7 changed files with 23 additions and 23 deletions
@@ -6,7 +6,7 @@ import java.util.logging.Logger;
import com.profiler.interceptor.Interceptor;
import com.profiler.interceptor.bci.InstrumentException;
import com.profiler.modifier.db.interceptor.ExecuteQueryMethodInterceptor;
import com.profiler.modifier.db.interceptor.StatementExecuteQueryInterceptor;
import com.profiler.interceptor.bci.ByteCodeInstrumentor;
import com.profiler.interceptor.bci.InstrumentClass;
@@ -33,8 +33,8 @@ public class MySQLStatementModifier extends AbstractModifier {
try {
InstrumentClass statementClass = byteCodeInstrumentor.getClass(javassistClassName);
// Interceptor interceptor = newInterceptor(classLoader, protectedDomain, "com.profiler.modifier.db.interceptor.ExecuteQueryMethodInterceptor");
Interceptor interceptor = new ExecuteQueryMethodInterceptor();
// Interceptor interceptor = newInterceptor(classLoader, protectedDomain, "com.profiler.modifier.db.interceptor.StatementExecuteQueryInterceptor");
Interceptor interceptor = new StatementExecuteQueryInterceptor();
statementClass.addInterceptor("executeQuery", new String[]{"java.lang.String"}, interceptor);