public class OAuthModule
extends com.google.inject.AbstractModule
| Constructor and Description |
|---|
OAuthModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
com.google.common.cache.LoadingCache<TokenRequest,Token> |
provideAccessCache(com.google.common.base.Function<TokenRequest,Token> getAccess,
long sessionIntervalInSeconds)
Provides a cache for tokens.
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configure()
configure in class com.google.inject.AbstractModule@Provides @Singleton public com.google.common.cache.LoadingCache<TokenRequest,Token> provideAccessCache(com.google.common.base.Function<TokenRequest,Token> getAccess, @Named(value="jclouds.session-interval") long sessionIntervalInSeconds)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.