Class KeystoneAdminURLModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class KeystoneAdminURLModule
    extends com.google.inject.AbstractModule
    • Constructor Detail

      • KeystoneAdminURLModule

        public KeystoneAdminURLModule()
    • Method Detail

      • 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.