Class BaseMessageInstrumentation
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.pulsar.common.define.BaseMessageInstrumentation
public class BaseMessageInstrumentation
extends org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine
Pulsar message instrumentation.
The message enhanced object is only for passing message reception span across threads.
Enhanced message object will be injected MessageEnhanceRequiredInfo
after message process method if consumer has a message listener.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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:
-
CONSTRUCTOR_INTERCEPTOR_CLASS
- See Also:
-
ENHANCE_METHOD
- See Also:
-
METHOD_INTERCEPTOR_CLASS
- See Also:
-
-
Constructor Details
-
BaseMessageInstrumentation
public BaseMessageInstrumentation()
-
-
Method Details
-
getConstructorsInterceptPoints
public org.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterceptPoint[] getConstructorsInterceptPoints()- Specified by:
getConstructorsInterceptPointsin classorg.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
-
getInstanceMethodsInterceptPoints
public org.apache.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()- Specified by:
getInstanceMethodsInterceptPointsin classorg.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
-
enhanceClass
protected org.apache.skywalking.apm.agent.core.plugin.match.ClassMatch enhanceClass()- Specified by:
enhanceClassin classorg.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
-