public static class KeystoneAuthenticationModule.ProviderModule
extends com.google.inject.AbstractModule
ApiMetadata.getDefaultModules()
@CloudDNS
, and make sure that has the meta-annotation
Qualifier
AsyncApi
classes by placing it on the type. ex.
@Endpoint(CloudDNS.class)
RestClientModule
bind(new TypeLiteral<Supplier<URI>>() { }).annotatedWith(CloudDNS.class).to(new TypeLiteral<Supplier<URI>>() { });
Constructor and Description |
---|
KeystoneAuthenticationModule.ProviderModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected com.google.common.base.Supplier<URI> |
provideZoneIdToURISupplierForApiVersion(String serviceType,
String apiVersion,
LocationIdToURIFromAccessForTypeAndVersion.Factory factory) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public KeystoneAuthenticationModule.ProviderModule()
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected com.google.common.base.Supplier<URI> provideZoneIdToURISupplierForApiVersion(@Named(value="jclouds.keystone.service-type") String serviceType, String apiVersion, LocationIdToURIFromAccessForTypeAndVersion.Factory factory)
Copyright © 2009-2013 jclouds. All Rights Reserved.