org.jclouds.location.suppliers.fromconfig
Class LocationIdToURIFromConfigurationOrDefaultToProvider

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

@Singleton
public class LocationIdToURIFromConfigurationOrDefaultToProvider
extends Object
implements com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<URI>>>


Field Summary
protected  ValueOfConfigurationKeyOrNull config
           
protected  String configPrefix
           
protected  com.google.common.base.Supplier<Set<String>> locationIds
           
protected  Logger logger
           
protected  com.google.common.base.Supplier<URI> providerURI
           
 
Constructor Summary
LocationIdToURIFromConfigurationOrDefaultToProvider(ValueOfConfigurationKeyOrNull config, com.google.common.base.Supplier<URI> providerURI, com.google.common.base.Supplier<Set<String>> locationIds, String configPrefix)
           
 
Method Summary
 Map<String,com.google.common.base.Supplier<URI>> 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

config

protected final ValueOfConfigurationKeyOrNull config

locationIds

protected final com.google.common.base.Supplier<Set<String>> locationIds

providerURI

protected final com.google.common.base.Supplier<URI> providerURI

configPrefix

protected final String configPrefix
Constructor Detail

LocationIdToURIFromConfigurationOrDefaultToProvider

@Inject
public LocationIdToURIFromConfigurationOrDefaultToProvider(ValueOfConfigurationKeyOrNull config,
                                                                  com.google.common.base.Supplier<URI> providerURI,
                                                                  com.google.common.base.Supplier<Set<String>> locationIds,
                                                                  String configPrefix)
Method Detail

get

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


Copyright © 2009-2012 jclouds. All Rights Reserved.