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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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 no ServiceType.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KeystoneAdminURLModule

      public KeystoneAdminURLModule()
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class com.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 no ServiceType.IDENTITY entry in the service catalog. In other cases, there's no adminURL entry present. Fallback to the provider in this case.