org.jclouds.location.suppliers.fromconfig
Class RegionIdToZoneIdsFromConfiguration

java.lang.Object
  extended by org.jclouds.location.suppliers.fromconfig.RegionIdToZoneIdsFromConfiguration
All Implemented Interfaces:
com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<Set<String>>>>, RegionIdToZoneIdsSupplier

@Singleton
public class RegionIdToZoneIdsFromConfiguration
extends Object
implements RegionIdToZoneIdsSupplier

looks for properties bound to the naming convention jclouds.location.region.regionId .zones

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
protected RegionIdToZoneIdsFromConfiguration(ValueOfConfigurationKeyOrNull config, String provider, com.google.common.base.Supplier<Set<String>> regionsSupplier)
           
 
Method Summary
 Map<String,com.google.common.base.Supplier<Set<String>>> get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger
Constructor Detail

RegionIdToZoneIdsFromConfiguration

@Inject
protected RegionIdToZoneIdsFromConfiguration(ValueOfConfigurationKeyOrNull config,
                                                    String provider,
                                                    com.google.common.base.Supplier<Set<String>> regionsSupplier)
Method Detail

get

@Singleton
public Map<String,com.google.common.base.Supplier<Set<String>>> get()
Specified by:
get in interface com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<Set<String>>>>


Copyright © 2009-2012 jclouds. All Rights Reserved.