Class MessageConstructorInterceptor
java.lang.Object
org.apache.skywalking.apm.plugin.pulsar.common.MessageConstructorInterceptor
- All Implemented Interfaces:
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceConstructorInterceptor
public class MessageConstructorInterceptor
extends Object
implements org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceConstructorInterceptor
Interceptor of pulsar message constructor.
The interceptor create MessageEnhanceRequiredInfo which is required by passing message span across
threads. Another purpose of this interceptor is to make ClassEnhancePluginDefine enable enhanced class
to implement EnhancedInstance interface. Because if ClassEnhancePluginDefine class will not create
SkyWalkingDynamicField without any constructor or method interceptor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonConstruct(org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance objInst, Object[] allArguments)
-
Constructor Details
-
MessageConstructorInterceptor
public MessageConstructorInterceptor()
-
-
Method Details
-
onConstruct
public void onConstruct(org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance objInst, Object[] allArguments) - Specified by:
onConstructin interfaceorg.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceConstructorInterceptor
-