public static class KeystoneAuthenticationModule.ProviderModule
extends com.google.inject.AbstractModule
ApiMetadata.getDefaultModules()
@CloudDNS
, and make sure that has the meta-annotation
Qualifier
Api
classes by placing it on the type. ex.
@Endpoint(CloudDNS.class)
org.jclouds.rest.config.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 final com.google.common.base.Supplier<URI> provideZoneIdToURISupplierForApiVersion(@Named(value="jclouds.keystone.service-type") String serviceType, String apiVersion, LocationIdToURIFromAccessForTypeAndVersion.Factory factory)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.