上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 52 下一页
摘要: 接口定义 @SPI("netty") //缺省值netty public interface Transporter { /** * Bind a server. * * @param url erver url * @param handler * @return server * @throws 阅读全文
posted @ 2020-03-18 15:15 意犹未尽 阅读(521) 评论(0) 推荐(0)
摘要: 接口定义 @SPI(HeaderExchanger.NAME)//缺省值为header public interface Exchanger { /** * bind. * * @param url * @param handler * @return message server */ @Adap 阅读全文
posted @ 2020-03-18 14:28 意犹未尽 阅读(477) 评论(0) 推荐(0)
摘要: 使用例子 <dubbo:service interface="com.alibaba.dubbo.demo.DemoService" ref="demoServiceImpl" protocol="injvm" scope="local" /> 本地如何引用 ReferenceConfig#crea 阅读全文
posted @ 2020-03-17 14:25 意犹未尽 阅读(493) 评论(0) 推荐(0)
摘要: 说明 Wrapper调用时机可以看:https://www.cnblogs.com/LQBlog/p/12470179.html#autoid-2-0-0 /** * StubProxyFactoryWrapper */ public class StubProxyFactoryWrapper im 阅读全文
posted @ 2020-03-17 13:40 意犹未尽 阅读(403) 评论(0) 推荐(0)
摘要: 说明 详见《dubbo源码阅读-ProxyFactory(十一)之JdkProxyFactory》 接口定义 详见《dubbo源码阅读-ProxyFactory(十一)之JdkProxyFactory》 类图 JavassistProxyFactory /** * JavaassistRpcProx 阅读全文
posted @ 2020-03-17 11:44 意犹未尽 阅读(486) 评论(0) 推荐(0)
摘要: 接口定义 /** * ProxyFactory. (API/SPI, Singleton, ThreadSafe) */ @SPI("javassist") //缺省值是javasist public interface ProxyFactory { /** * create proxy. * 需要 阅读全文
posted @ 2020-03-17 10:31 意犹未尽 阅读(691) 评论(0) 推荐(0)
摘要: /** * DeprecatedInvokerFilter * 服务于consumer 包含deprecated属性 */ @Activate(group = Constants.CONSUMER, value = Constants.DEPRECATED_KEY) public class Dep 阅读全文
posted @ 2020-03-16 17:31 意犹未尽 阅读(362) 评论(0) 推荐(0)
摘要: /** * Log any invocation timeout, but don't stop server from running * 服务于服务提供者 */ @Activate(group = Constants.PROVIDER) public class TimeoutFilter im 阅读全文
posted @ 2020-03-16 17:27 意犹未尽 阅读(325) 评论(0) 推荐(0)
摘要: @Override public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException { try { //调用 Result result = invoker.invoke(invocation); 阅读全文
posted @ 2020-03-16 17:25 意犹未尽 阅读(417) 评论(0) 推荐(0)
摘要: ContextFilter /** * ContextInvokerFilter * 用于服务提供者 排序第一 */ @Activate(group = Constants.PROVIDER, order = -10000) public class ContextFilter implements 阅读全文
posted @ 2020-03-16 17:21 意犹未尽 阅读(777) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 52 下一页