[유치수] [NOBTS] add getTargetClass() on Modifier interface.

git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@486 84d0f5b1-2673-498c-a247-62c4ff18d310
This commit is contained in:
Chisu Yu
2012-08-01 07:11:16 +00:00
parent 96a7f2bba8
commit 17157bbc53
22 changed files with 101 additions and 20 deletions
@@ -19,6 +19,10 @@ public class MySQLConnectionImplModifier extends AbstractModifier {
super(classPool);
}
public String getTargetClass() {
return "com/mysql/jdbc/ConnectionImpl";
}
public byte[] modify(ClassLoader classLoader, String javassistClassName, byte[] classFileBuffer) {
if (logger.isLoggable(Level.INFO)){
logger.info("Modifing. " + javassistClassName);