类 ConnectionInstrumentation
java.lang.Object
org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassEnhancePluginDefine
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine
org.apache.skywalking.apm.plugin.jdbc.postgresql.define.ConnectionInstrumentation
public class ConnectionInstrumentation
extends org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine
ConnectionInstrumentation intercept the following methods that the class which extend PgConnection.
1. Enhance prepareStatement by org.apache.skywalking.apm.plugin.jdbc.define.JDBCPrepareStatementInterceptor
2. Enhance prepareStatement that the seconds argument type is java.lang.String[] by
JDBCPrepareStatementWithStringArrayInterceptor
3. Enhance prepareCall by
org.apache.skywalking.apm.plugin.jdbc.define.JDBCPrepareCallInterceptor
4. Enhance createStatement by org.apache.skywalking.apm.plugin.jdbc.define.JDBCStatementInterceptor
5. Enhance commit, rollback, close, releaseSavepoint by org.apache.skywalking.apm.plugin.jdbc.define.ConnectionServiceMethodInterceptor
-
字段概要
字段修饰符和类型字段说明static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String从类继承的字段 org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
CONTEXT_ATTR_NAME -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected org.apache.skywalking.apm.agent.core.plugin.match.ClassMatchorg.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterceptPoint[]org.apache.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint[]从类继承的方法 org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine
getStaticMethodsInterceptPoints从类继承的方法 org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassEnhancePluginDefine
enhanceClass, enhanceInstance, getInstanceMethodsInterceptV2Points, getStaticMethodsInterceptV2Points从类继承的方法 org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
define, enhance, isBootstrapInstrumentation, witnessClasses, witnessMethods
-
字段详细资料
-
构造器详细资料
-
ConnectionInstrumentation
public ConnectionInstrumentation()
-
-
方法详细资料
-
getConstructorsInterceptPoints
public org.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterceptPoint[] getConstructorsInterceptPoints()- 指定者:
getConstructorsInterceptPoints在类中org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
-
getInstanceMethodsInterceptPoints
public org.apache.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()- 指定者:
getInstanceMethodsInterceptPoints在类中org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
-
enhanceClass
protected org.apache.skywalking.apm.agent.core.plugin.match.ClassMatch enhanceClass()- 指定者:
enhanceClass在类中org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
-