public class KeystoneAdminURLModule
extends com.google.inject.AbstractModule
Constructor and Description |
---|
KeystoneAdminURLModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
protected com.google.common.base.Supplier<URI> |
provideIdentityAdminUrl(RegionIdToAdminURISupplier.Factory factory,
String version,
String keystoneVersion,
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
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton protected final com.google.common.base.Supplier<URI> provideIdentityAdminUrl(RegionIdToAdminURISupplier.Factory factory, String version, @Named(value="jclouds.keystone.version") String keystoneVersion, 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-2018 The Apache Software Foundation. All Rights Reserved.