public static class KeystoneRestClientModule.KeystoneAdminURLModule
extends com.google.inject.AbstractModule
Constructor and Description |
---|
KeystoneRestClientModule.KeystoneAdminURLModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected com.google.common.base.Supplier<URI> |
provideStorageUrl(RegionIdToAdminURISupplier.Factory factory,
String version,
com.google.common.base.Supplier<URI> providerURI)
in some cases, there is no
ServiceType.IDENTITY entry in the service catalog. |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public KeystoneRestClientModule.KeystoneAdminURLModule()
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected com.google.common.base.Supplier<URI> provideStorageUrl(RegionIdToAdminURISupplier.Factory factory, String version, com.google.common.base.Supplier<URI> providerURI)
ServiceType.IDENTITY
entry in the service catalog. In
other cases, there's no adminURL entry present. Fallback to the provider in this case.Copyright © 2009-2013 jclouds. All Rights Reserved.