@Beta
public class CredentialStoreModule
extends com.google.inject.AbstractModule
Modifier and Type | Class and Description |
---|---|
static class |
CredentialStoreModule.CredentialsFromJsonByteSource |
static class |
CredentialStoreModule.CredentialsToJsonByteSource |
Constructor and Description |
---|
CredentialStoreModule() |
CredentialStoreModule(Map<String,com.google.common.io.ByteSource> backing) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected Map<String,Credentials> |
provideCredentialStore(Map<String,com.google.common.io.ByteSource> backing,
com.google.common.base.Function<Credentials,com.google.common.io.ByteSource> credentialsSerializer,
com.google.common.base.Function<com.google.common.io.ByteSource,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,com.google.common.io.ByteSource> backing)
public CredentialStoreModule()
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected final Map<String,Credentials> provideCredentialStore(Map<String,com.google.common.io.ByteSource> backing, com.google.common.base.Function<Credentials,com.google.common.io.ByteSource> credentialsSerializer, com.google.common.base.Function<com.google.common.io.ByteSource,Credentials> credentialsDeserializer)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.