修复Dubbo插件bug

This commit is contained in:
ascrutae 2016-06-19 22:42:55 +08:00
parent c23b988193
commit e0473e753b
1 changed files with 12 additions and 12 deletions

View File

@ -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";
}
}