org.jclouds.location.suppliers.fromconfig
Class ZoneIdToURIFromConfigurationOrDefaultToProvider

java.lang.Object
  extended by org.jclouds.location.suppliers.fromconfig.LocationIdToURIFromConfigurationOrDefaultToProvider
      extended by org.jclouds.location.suppliers.fromconfig.ZoneIdToURIFromConfigurationOrDefaultToProvider
All Implemented Interfaces:
com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<URI>>>, ZoneIdToURISupplier

@Singleton
public class ZoneIdToURIFromConfigurationOrDefaultToProvider
extends LocationIdToURIFromConfigurationOrDefaultToProvider
implements ZoneIdToURISupplier

looks for properties bound to the naming convention jclouds.zone.zoneId.endpoint

Author:
Adrian Cole

Field Summary
 
Fields inherited from class org.jclouds.location.suppliers.fromconfig.LocationIdToURIFromConfigurationOrDefaultToProvider
config, configPrefix, locationIds, logger, providerURI
 
Constructor Summary
protected ZoneIdToURIFromConfigurationOrDefaultToProvider(ValueOfConfigurationKeyOrNull config, com.google.common.base.Supplier<URI> providerURI, com.google.common.base.Supplier<Set<String>> zoneIds)
           
 
Method Summary
 
Methods inherited from class org.jclouds.location.suppliers.fromconfig.LocationIdToURIFromConfigurationOrDefaultToProvider
get
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Supplier
get
 

Constructor Detail

ZoneIdToURIFromConfigurationOrDefaultToProvider

@Inject
protected ZoneIdToURIFromConfigurationOrDefaultToProvider(ValueOfConfigurationKeyOrNull config,
                                                                 com.google.common.base.Supplier<URI> providerURI,
                                                                 com.google.common.base.Supplier<Set<String>> zoneIds)


Copyright © 2009-2012 jclouds. All Rights Reserved.