类 AbstractControllerInstrumentation

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.spring.mvc.v4.define.AbstractSpring4Instrumentation
org.apache.skywalking.apm.plugin.spring.mvc.v4.define.AbstractControllerInstrumentation
直接已知子类:
ControllerForLowVersionInstrumentation, ControllerInstrumentation, RestControllerForLowVersionInstrumentation, RestControllerInstrumentation

public abstract class AbstractControllerInstrumentation extends AbstractSpring4Instrumentation
ControllerInstrumentation enhance all constructor and method annotated with org.springframework.web.bind.annotation.RequestMapping that class has org.springframework.stereotype.Controller annotation. ControllerConstructorInterceptor set the controller base path to dynamic field before execute constructor. org.apache.skywalking.apm.plugin.spring.mvc.commons.interceptor.RequestMappingMethodInterceptor get the request path from dynamic field first, if not found, RequestMappingMethodInterceptor generate request path that combine the path value of current annotation on current method and the base path and set the new path to the dynamic filed
  • 字段概要

    从类继承的字段 org.apache.skywalking.apm.plugin.spring.mvc.v4.define.AbstractSpring4Instrumentation

    WITHNESS_CLASSES

    从类继承的字段 org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine

    CONTEXT_ATTR_NAME
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected org.apache.skywalking.apm.agent.core.plugin.match.ClassMatch
     
    org.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterceptPoint[]
     
    protected abstract String[]
     
    org.apache.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint[]
     

    从类继承的方法 org.apache.skywalking.apm.plugin.spring.mvc.v4.define.AbstractSpring4Instrumentation

    witnessClasses

    从类继承的方法 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, witnessMethods

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • AbstractControllerInstrumentation

      public AbstractControllerInstrumentation()
  • 方法详细资料

    • 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
    • getEnhanceAnnotations

      protected abstract String[] getEnhanceAnnotations()