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| Modifier and Type | Field and Description |
|---|---|
static String |
ENHANCE_CLASS |
CONTEXT_ATTR_NAME| Constructor and Description |
|---|
Jdbc4ConnectionInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
protected ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
protected InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
getStaticMethodsInterceptPointsenhancedefine, witnessClassespublic static final String ENHANCE_CLASS
protected ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class ClassEnhancePluginDefineprotected InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class ClassEnhancePluginDefineprotected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefineCopyright © 2018 The Apache Software Foundation. All rights reserved.