org.jclouds.location.suppliers.fromconfig
Class LocationIdToIso3166CodesFromConfiguration

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

@Singleton
public class LocationIdToIso3166CodesFromConfiguration
extends Object
implements LocationIdToIso3166CodesSupplier

looks for properties bound to the naming conventions jclouds.region. regionId .iso3166-codes and jclouds.zone.zoneId.iso3166-codes

Author:
Adrian Cole

Constructor Summary
LocationIdToIso3166CodesFromConfiguration(com.google.common.base.Function<com.google.common.base.Predicate<String>,Map<String,String>> filterStringsBoundByName)
           
 
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
 

Constructor Detail

LocationIdToIso3166CodesFromConfiguration

@Inject
public LocationIdToIso3166CodesFromConfiguration(com.google.common.base.Function<com.google.common.base.Predicate<String>,Map<String,String>> filterStringsBoundByName)
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.