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 Constructor Description KeystoneAdminURLModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 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, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
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.
-
-