@Beta
public class CredentialStoreModule
extends com.google.inject.AbstractModule
Modifier and Type | Class and Description |
---|---|
static class |
CredentialStoreModule.CredentialsFromJsonInputStream |
static class |
CredentialStoreModule.CredentialsToJsonInputStream |
Constructor and Description |
---|
CredentialStoreModule() |
CredentialStoreModule(Map<String,InputStream> backing) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected Map<String,Credentials> |
provideCredentialStore(Map<String,InputStream> backing,
com.google.common.base.Function<Credentials,InputStream> credentialsSerializer,
com.google.common.base.Function<InputStream,Credentials> credentialsDeserializer) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public CredentialStoreModule(Map<String,InputStream> backing)
public CredentialStoreModule()
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected Map<String,Credentials> provideCredentialStore(Map<String,InputStream> backing, com.google.common.base.Function<Credentials,InputStream> credentialsSerializer, com.google.common.base.Function<InputStream,Credentials> credentialsDeserializer)
Copyright © 2009-2012 jclouds. All Rights Reserved.