类 TraceContextActivation
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.ClassStaticMethodsEnhancePluginDefine
org.apache.skywalking.apm.toolkit.activation.trace.TraceContextActivation
public class TraceContextActivation
extends org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassStaticMethodsEnhancePluginDefine
Active the toolkit class "TraceContext". Should not dependency or import any class in
"skywalking-toolkit-trace-context" module. Activation's classloader is diff from "TraceContext", using direct will
trigger classloader issue.
-
字段概要
字段修饰符和类型字段说明static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String从类继承的字段 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.StaticMethodsInterceptPoint[]从类继承的方法 org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassStaticMethodsEnhancePluginDefine
getConstructorsInterceptPoints, getInstanceMethodsInterceptPoints从类继承的方法 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, witnessClasses, witnessMethods
-
字段详细资料
-
TRACE_ID_INTERCEPT_CLASS
- 另请参阅:
-
SEGMENT_ID_INTERCEPT_CLASS
- 另请参阅:
-
SPAN_ID_INTERCEPT_CLASS
- 另请参阅:
-
ENHANCE_CLASS
- 另请参阅:
-
ENHANCE_TRACE_ID_METHOD
- 另请参阅:
-
ENHANCE_SEGMENT_ID_METHOD
- 另请参阅:
-
ENHANCE_SPAN_ID_METHOD
- 另请参阅:
-
ENHANCE_GET_CORRELATION_METHOD
- 另请参阅:
-
INTERCEPT_GET_CORRELATION_CLASS
- 另请参阅:
-
ENHANCE_PUT_CORRELATION_METHOD
- 另请参阅:
-
INTERCEPT_PUT_CORRELATION_CLASS
- 另请参阅:
-
-
构造器详细资料
-
TraceContextActivation
public TraceContextActivation()
-
-
方法详细资料
-
enhanceClass
protected org.apache.skywalking.apm.agent.core.plugin.match.ClassMatch enhanceClass()- 指定者:
enhanceClass在类中org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine- 返回:
- the target class, which needs active.
-
getStaticMethodsInterceptPoints
public org.apache.skywalking.apm.agent.core.plugin.interceptor.StaticMethodsInterceptPoint[] getStaticMethodsInterceptPoints()- 指定者:
getStaticMethodsInterceptPoints在类中org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine- 返回:
- the collection of
StaticMethodsInterceptPoint, represent the intercepted methods and their interceptors.
-