public class ControllerInstrumentation extends AbstractSpring3Instrumentation
ControllerInstrumentation intercept the constructor and the methods annotated with RequestMapping in the class annotated with Controller.| Modifier and Type | Field and Description |
|---|---|
static String |
CONSTRUCTOR_INTERCEPTOR |
static String |
CONTROLLER_ENHANCE_ANNOTATION |
static String |
REQUEST_MAPPING_ENHANCE_ANNOTATION |
WITHNESS_CLASSESCONTEXT_ATTR_NAME| Constructor and Description |
|---|
ControllerInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
protected ClassMatch |
enhanceClass() |
ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
witnessClassesgetStaticMethodsInterceptPointsenhancedefine, isBootstrapInstrumentationpublic static final String CONTROLLER_ENHANCE_ANNOTATION
public static final String CONSTRUCTOR_INTERCEPTOR
public static final String REQUEST_MAPPING_ENHANCE_ANNOTATION
public ConstructorInterceptPoint[] getConstructorsInterceptPoints()
getConstructorsInterceptPoints in class AbstractClassEnhancePluginDefinepublic InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
getInstanceMethodsInterceptPoints in class AbstractClassEnhancePluginDefineprotected ClassMatch enhanceClass()
enhanceClass in class AbstractClassEnhancePluginDefineCopyright © 2019 The Apache Software Foundation. All rights reserved.