|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.rest.config.RestModule
public class RestModule
| Field Summary | |
|---|---|
protected AtomicReference<AuthorizationException> |
authException
|
protected Map<Class<?>,Class<?>> |
sync2Async
|
static com.google.inject.TypeLiteral<com.google.common.base.Supplier<URI>> |
URI_SUPPLIER_TYPE
|
| Constructor Summary | |
|---|---|
RestModule()
|
|
RestModule(Map<Class<?>,Class<?>> sync2Async)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final com.google.inject.TypeLiteral<com.google.common.base.Supplier<URI>> URI_SUPPLIER_TYPE
protected final Map<Class<?>,Class<?>> sync2Async
protected final AtomicReference<AuthorizationException> authException
| Constructor Detail |
|---|
public RestModule()
public RestModule(Map<Class<?>,Class<?>> sync2Async)
| Method Detail |
|---|
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()
SeedAnnotationCache
SeedAnnotationCache@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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||