public class RestModule
extends com.google.inject.AbstractModule
| Modifier and Type | Field and Description | 
|---|---|
protected AtomicReference<AuthorizationException> | 
authException  | 
protected Map<Class<?>,Class<?>> | 
sync2Async  | 
static com.google.inject.TypeLiteral<com.google.common.base.Supplier<URI>> | 
URI_SUPPLIER_TYPE  | 
| Constructor and Description | 
|---|
RestModule()  | 
RestModule(Map<Class<?>,Class<?>> sync2Async)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
configure()  | 
protected com.google.common.cache.Cache<RestAnnotationProcessor.MethodKey,Method> | 
delegationMap()
Shared for all types of rest clients. 
 | 
protected void | 
installLocations()  | 
protected com.google.common.cache.LoadingCache<Class<?>,Boolean> | 
seedAnnotationCache(SeedAnnotationCache seedAnnotationCache)  | 
protected Map<String,Long> | 
timeouts(com.google.common.base.Function<com.google.common.base.Predicate<String>,Map<String,String>> filterStringsBoundByName)  | 
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic static final com.google.inject.TypeLiteral<com.google.common.base.Supplier<URI>> URI_SUPPLIER_TYPE
protected final AtomicReference<AuthorizationException> authException
protected void installLocations()
protected void configure()
configure in class com.google.inject.AbstractModule@Provides @Singleton protected com.google.common.cache.Cache<RestAnnotationProcessor.MethodKey,Method> delegationMap()
SeedAnnotationCacheSeedAnnotationCache@Provides @Singleton @Named(value="TIMEOUTS") protected Map<String,Long> timeouts(com.google.common.base.Function<com.google.common.base.Predicate<String>,Map<String,String>> filterStringsBoundByName)
@Provides @Singleton protected com.google.common.cache.LoadingCache<Class<?>,Boolean> seedAnnotationCache(SeedAnnotationCache seedAnnotationCache)
Copyright © 2009-2013 jclouds. All Rights Reserved.