org.jclouds.openstack.keystone.v2_0.config
Class KeystoneHttpApiModule.KeystoneAdminURLModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.openstack.keystone.v2_0.config.KeystoneHttpApiModule.KeystoneAdminURLModule
All Implemented Interfaces:
com.google.inject.Module
Enclosing class:
KeystoneHttpApiModule

public static class KeystoneHttpApiModule.KeystoneAdminURLModule
extends com.google.inject.AbstractModule


Constructor Summary
KeystoneHttpApiModule.KeystoneAdminURLModule()
           
 
Method Summary
protected  void configure()
           
protected  com.google.common.base.Supplier<URI> provideStorageUrl(RegionIdToAdminURISupplier.Factory factory, String version, 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, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeystoneHttpApiModule.KeystoneAdminURLModule

public KeystoneHttpApiModule.KeystoneAdminURLModule()
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

provideStorageUrl

@Provides
@Singleton
protected com.google.common.base.Supplier<URI> provideStorageUrl(RegionIdToAdminURISupplier.Factory factory,
                                                                                    String version,
                                                                                    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.



Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.