public class Jdbc3ConnectionInstrumentation extends ClassInstanceMethodsEnhancePluginDefine
Jdbc3ConnectionInstrumentation intercept the following methods that the class which extend
org.postgresql.jdbc3.Jdbc3Connection
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 |
|---|
Jdbc3ConnectionInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
getStaticMethodsInterceptPointsenhancedefine, isBootstrapInstrumentation, witnessClassespublic static final String ENHANCE_CLASS
public ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class AbstractClassEnhancePluginDefinepublic InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class AbstractClassEnhancePluginDefineprotected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefineCopyright © 2020 The Apache Software Foundation. All rights reserved.