public abstract class ConnectionInstrumentation extends ClassInstanceMethodsEnhancePluginDefine
ConnectionInstrumentation intercepts the following methods that the class which extend
com.mysql.jdbc.ConnectionImpl.
1. Enhance prepareStatement by org.apache.skywalking.apm.plugin.jdbc.define.JDBCPrepareStatementInterceptor
2. Enhance prepareCall by org.apache.skywalking.apm.plugin.jdbc.define.JDBCPrepareCallInterceptor
3. Enhance createStatement by org.apache.skywalking.apm.plugin.jdbc.define.JDBCStatementInterceptor
4. Enhance commit, rollback, close, releaseSavepoint by org.apache.skywalking.apm.plugin.jdbc.define.ConnectionServiceMethodInterceptorCONTEXT_ATTR_NAME| 构造器和说明 |
|---|
ConnectionInstrumentation() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract ClassMatch |
enhanceClass() |
protected ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
protected InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
getStaticMethodsInterceptPointsenhancedefine, witnessClassesprotected ConstructorInterceptPoint[] getConstructorsInterceptPoints()
protected InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
protected abstract ClassMatch enhanceClass()
Copyright © 2018 The Apache Software Foundation. All rights reserved.