public static class KeystoneHttpApiModule.KeystoneAdminURLModule
extends com.google.inject.AbstractModule
Constructor and Description |
---|
KeystoneHttpApiModule.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 KeystoneHttpApiModule.KeystoneAdminURLModule()
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected final 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-2016 The Apache Software Foundation. All Rights Reserved.