提交 e0473e75 编写于 作者: A ascrutae

修复Dubbo插件bug

上级 c23b9881
......@@ -6,18 +6,18 @@ import com.ai.cloud.skywalking.plugin.interceptor.enhance.StaticMethodsAroundInt
import com.ai.cloud.skywalking.plugin.interceptor.matcher.SimpleMethodMatcher;
public class DubboPluginDefine extends ClassStaticMethodsEnhancePluginDefine {
@Override
protected MethodMatcher[] getStaticMethodsMatchers() {
return new MethodMatcher[] { new SimpleMethodMatcher("buildInvokerChain") };
}
@Override
protected MethodMatcher[] getStaticMethodsMatchers() {
return new MethodMatcher[]{new SimpleMethodMatcher("buildInvokerChain")};
}
@Override
protected StaticMethodsAroundInterceptor getStaticMethodsInterceptor() {
return null;
}
@Override
protected StaticMethodsAroundInterceptor getStaticMethodsInterceptor() {
return new ProtocolFilterBuildChainInterceptor();
}
@Override
protected String getBeInterceptedClassName() {
return "com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper";
}
@Override
protected String getBeInterceptedClassName() {
return "com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper";
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册