Class TraceIdPatternConverterActivation
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.toolkit.activation.log.log4j.v1.x.TraceIdPatternConverterActivation
public class TraceIdPatternConverterActivation
extends org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine
Active the toolkit class "TraceIdPatternConverter". Should not dependency or import any class in
"skywalking-toolkit-log4j-1.x" module. Activation's classloader is diff from "TraceIdPatternConverter", using direct
will trigger classloader issue.
-
Field Summary
FieldsFields inherited from class org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
CONTEXT_ATTR_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.skywalking.apm.agent.core.plugin.match.ClassMatchorg.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterceptPoint[]org.apache.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint[]Methods inherited from class org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine
getStaticMethodsInterceptPointsMethods inherited from class org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassEnhancePluginDefine
enhanceClass, enhanceInstance, getInstanceMethodsInterceptV2Points, getStaticMethodsInterceptV2PointsMethods inherited from class org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
define, enhance, isBootstrapInstrumentation, witnessClasses, witnessMethods
-
Field Details
-
ENHANCE_CLASS
- See Also:
-
INTERCEPT_CLASS
- See Also:
-
ENHANCE_METHOD
- See Also:
-
-
Constructor Details
-
TraceIdPatternConverterActivation
public TraceIdPatternConverterActivation()
-
-
Method Details
-
enhanceClass
protected org.apache.skywalking.apm.agent.core.plugin.match.ClassMatch enhanceClass()- Specified by:
enhanceClassin classorg.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine- Returns:
- the target class, which needs active.
-
getConstructorsInterceptPoints
public org.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterceptPoint[] getConstructorsInterceptPoints()- Specified by:
getConstructorsInterceptPointsin classorg.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine- Returns:
- null, no need to intercept constructor of enhance class.
-
getInstanceMethodsInterceptPoints
public org.apache.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()- Specified by:
getInstanceMethodsInterceptPointsin classorg.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine- Returns:
- the collection of
InstanceMethodsInterceptPoint, represent the intercepted methods and their interceptors.
-