public class Jdbc4ConnectionInstrumentation extends ClassInstanceMethodsEnhancePluginDefine
Jdbc4ConnectionInstrumentation intercept the following methods that the class which extend
org.postgresql.jdbc4.Jdbc4Connection.
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.ConnectionServiceMethodInterceptor| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ENHANCE_CLASS |
CONTEXT_ATTR_NAME| 构造器和说明 |
|---|
Jdbc4ConnectionInstrumentation() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ClassMatch |
enhanceClass() |
protected ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
protected InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
getStaticMethodsInterceptPointsenhancedefine, witnessClassesprotected ConstructorInterceptPoint[] getConstructorsInterceptPoints()
protected InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
protected ClassMatch enhanceClass()
Copyright © 2018 The Apache Software Foundation. All rights reserved.