Class KeystoneAdminURLModule
java.lang.Object
com.google.inject.AbstractModule
org.jclouds.openstack.keystone.catalog.config.KeystoneAdminURLModule
- All Implemented Interfaces:
com.google.inject.Module
public class KeystoneAdminURLModule
extends com.google.inject.AbstractModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected final 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 noServiceType.IDENTITY
entry in the service catalog.Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
KeystoneAdminURLModule
public KeystoneAdminURLModule()
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-
provideIdentityAdminUrl
@Provides @Singleton protected final com.google.common.base.Supplier<URI> provideIdentityAdminUrl(RegionIdToAdminURISupplier.Factory factory, String version, @Named("jclouds.keystone.version") String keystoneVersion, com.google.common.base.Supplier<URI> providerURI) in some cases, there is noServiceType.IDENTITY
entry in the service catalog. In other cases, there's no adminURL entry present. Fallback to the provider in this case.
-