本文整理汇总了Java中com.netflix.ribbon.proxy.processor.AnnotationProcessorsProvider.DEFAULT属性的典型用法代码示例。如果您正苦于以下问题:Java AnnotationProcessorsProvider.DEFAULT属性的具体用法?Java AnnotationProcessorsProvider.DEFAULT怎么用?Java AnnotationProcessorsProvider.DEFAULT使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.netflix.ribbon.proxy.processor.AnnotationProcessorsProvider
的用法示例。
在下文中一共展示了AnnotationProcessorsProvider.DEFAULT属性的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: testServiceLoader
@Test
public void testServiceLoader() {
AnnotationProcessorsProvider annotations = AnnotationProcessorsProvider.DEFAULT;
List<AnnotationProcessor> processors = annotations.getProcessors();
boolean hasEVCacheProcessor = false;
for (AnnotationProcessor processor: processors) {
Class<?> clazz = processor.getClass();
if (clazz.equals(EVCacheAnnotationProcessor.class)) {
hasEVCacheProcessor = true;
break;
}
}
assertTrue(hasEVCacheProcessor);
}
示例2: SecuredRibbonResourceFactory
public SecuredRibbonResourceFactory(final int maxChunkSize) {
this(ClientConfigFactory.DEFAULT,
new SecuredTransportFactory(maxChunkSize),
AnnotationProcessorsProvider.DEFAULT);
}
示例3: SecuredRibbonResourceFactory
public SecuredRibbonResourceFactory(final int maxChunkSize) {
this(ClientConfigFactory.DEFAULT,
new SecuredTransportFactory(maxChunkSize),
AnnotationProcessorsProvider.DEFAULT);
}
开发者ID:wildfly-swarm-archive,项目名称:ARCHIVE-wildfly-swarm,代码行数:5,代码来源:SecuredRibbonResourceFactory.java
示例4: DefaultResourceFactory
public DefaultResourceFactory(ClientConfigFactory clientConfigFactory, RibbonTransportFactory transportFactory) {
super(clientConfigFactory, transportFactory, AnnotationProcessorsProvider.DEFAULT);
}
示例5: ProxyHttpResourceGroupFactory
ProxyHttpResourceGroupFactory(ClassTemplate<T> classTemplate) {
this(classTemplate, new DefaultResourceFactory(ClientConfigFactory.DEFAULT, RibbonTransportFactory.DEFAULT, AnnotationProcessorsProvider.DEFAULT),
AnnotationProcessorsProvider.DEFAULT);
}
示例6: RibbonDynamicProxy
RibbonDynamicProxy(Class<T> clientInterface, HttpResourceGroup httpResourceGroup) {
AnnotationProcessorsProvider processors = AnnotationProcessorsProvider.DEFAULT;
registerAnnotationProcessors(processors);
lifeCycle = new ProxyLifecycleImpl(httpResourceGroup);
templateExecutorMap = MethodTemplateExecutor.from(httpResourceGroup, clientInterface, processors);
}
示例7: createExecutor
private MethodTemplateExecutor createExecutor(Class<?> clientInterface, String methodName) {
MethodTemplate methodTemplate = new MethodTemplate(methodByName(clientInterface, methodName));
return new MethodTemplateExecutor(httpResourceGroupMock, methodTemplate, AnnotationProcessorsProvider.DEFAULT);
}