本文整理汇总了Java中com.alibaba.dubbo.common.extension.Adaptive类的典型用法代码示例。如果您正苦于以下问题:Java Adaptive类的具体用法?Java Adaptive怎么用?Java Adaptive使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Adaptive类属于com.alibaba.dubbo.common.extension包,在下文中一共展示了Adaptive类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: echo
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive
String echo(URL url, String s);
示例2: connect
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive({Constants.CLIENT_KEY, Constants.TRANSPORTER_KEY})
ZookeeperClient connect(URL url);
示例3: encode
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive({Constants.CODEC_KEY})
void encode(Channel channel, ChannelBuffer buffer, Object message) throws IOException;
示例4: getValidator
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive(Constants.VALIDATION_KEY)
Validator getValidator(URL url);
示例5: getCache
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive("cache")
Cache getCache(URL url);
示例6: bind
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive()
public HttpServer bind(URL url, HttpHandler handler) {
return new ServletHttpServer(url, handler);
}
示例7: decode
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive({Constants.CODEC_KEY})
Object decode(Channel channel, ChannelBuffer buffer) throws IOException;
示例8: echo
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive({"key1", "protocol"})
String echo(URL url, String s);
示例9: bark
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive
String bark(String name, List<Object> list);
示例10: yell
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive({"key1", "key2"})
String yell(URL url, String s);
示例11: yell
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive({"protocol", "key2"})
String yell(URL url, String s);
示例12: echo
import com.alibaba.dubbo.common.extension.Adaptive; //导入依赖的package包/类
@Adaptive
String echo(UrlHolder holder, String s);