public abstract class AbstractReactiveControllerInstrumentation extends AbstractSpring5ReactiveInstrumentation
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.v4.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
filedWITNESS_CLASSESCONTEXT_ATTR_NAME| Constructor and Description |
|---|
AbstractReactiveControllerInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
protected abstract String[] |
getEnhanceAnnotations() |
InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
witnessClassesgetStaticMethodsInterceptPointsenhanceClass, enhanceInstance, getInstanceMethodsInterceptV2Points, getStaticMethodsInterceptV2Pointsdefine, enhance, isBootstrapInstrumentation, witnessMethodspublic AbstractReactiveControllerInstrumentation()
public ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class AbstractClassEnhancePluginDefinepublic InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class AbstractClassEnhancePluginDefineprotected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefineprotected abstract String[] getEnhanceAnnotations()
Copyright © 2021 The Apache Software Foundation. All rights reserved.