类 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
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.ClassMatchorg.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
-
构造器详细资料
-
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
-