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 void |
installLocations() |
static void |
putInvokables(Class<?> sync,
Class<?> async,
com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache) |
protected com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> |
seedKnownSync2AsyncInvokables()
seeds well-known invokables.
|
protected com.google.common.base.Function<Invocation,Invocation> |
sync2async(com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache)
function view of above
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public static final com.google.inject.TypeLiteral<com.google.common.base.Supplier<URI>> URI_SUPPLIER_TYPE
protected final AtomicReference<AuthorizationException> authException
@Provides @Singleton protected com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> seedKnownSync2AsyncInvokables()
@Provides @Singleton protected com.google.common.base.Function<Invocation,Invocation> sync2async(com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache)
public static void putInvokables(Class<?> sync, Class<?> async, com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache)
protected void installLocations()
protected void configure()
configure
in class com.google.inject.AbstractModule
Copyright © 2009-2013 jclouds. All Rights Reserved.