类 ConnectionServiceMethodInterceptor

java.lang.Object
org.apache.skywalking.apm.plugin.jdbc.ConnectionServiceMethodInterceptor
所有已实现的接口:
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor

public class ConnectionServiceMethodInterceptor extends Object implements org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor
ConnectionServiceMethodInterceptor create an exit span when the following methods execute: 1. close 2. rollback 3. releaseSavepoint 4. commit
  • 构造器详细资料

    • ConnectionServiceMethodInterceptor

      public ConnectionServiceMethodInterceptor()
  • 方法详细资料

    • beforeMethod

      public final void beforeMethod(org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes, org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.MethodInterceptResult result) throws Throwable
      指定者:
      beforeMethod 在接口中 org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor
      抛出:
      Throwable
    • afterMethod

      public final Object afterMethod(org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes, Object ret) throws Throwable
      指定者:
      afterMethod 在接口中 org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor
      抛出:
      Throwable
    • handleMethodException

      public final void handleMethodException(org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes, Throwable t)
      指定者:
      handleMethodException 在接口中 org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceMethodsAroundInterceptor