[강운덕] [LUCYSUS-1744] modifier관련 static api를 instance api로 변경 완료.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@467 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Woonduk Kang
2012-07-23 06:42:03 +00:00
parent bdd316fd00
commit 2c02691282
20 changed files with 229 additions and 246 deletions
@@ -14,7 +14,8 @@ public class MySQLStatementModifier extends AbstractModifier {
public byte[] modify(ClassPool classPool, ClassLoader classLoader, String javassistClassName, byte[] classFileBuffer) {
logger.info("MySQLStatementModifier modifing. %s", javassistClassName);
return changeMethod(classPool, classLoader, javassistClassName, classFileBuffer);
checkLibrary(classPool, javassistClassName, classLoader);
return changeMethod(classPool, classLoader, javassistClassName, classFileBuffer);
}
private byte[] changeMethod(ClassPool classPool, ClassLoader classLoader, String javassistClassName, byte[] classfileBuffer) {