org.jclouds.location.config
Class ProvideRegionToURIViaProperties

java.lang.Object
  extended by org.jclouds.location.config.ProvideRegionToURIViaProperties
All Implemented Interfaces:
javax.inject.Provider<Map<String,URI>>
Direct Known Subclasses:
CloudLoadBalancersRestClientModule.ProvideRegionToURIViaPropertiesWithAccountID

@Singleton
public class ProvideRegionToURIViaProperties
extends Object
implements javax.inject.Provider<Map<String,URI>>

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

Author:
Adrian Cole

Constructor Summary
protected ProvideRegionToURIViaProperties(com.google.inject.Injector injector, com.google.common.collect.Multimap<String,String> constants)
           
 
Method Summary
 Map<String,URI> get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvideRegionToURIViaProperties

@Inject
protected ProvideRegionToURIViaProperties(com.google.inject.Injector injector,
                                                 @Named(value="CONSTANTS")
                                                 com.google.common.collect.Multimap<String,String> constants)
Method Detail

get

@Singleton
public Map<String,URI> get()
Specified by:
get in interface javax.inject.Provider<Map<String,URI>>


Copyright © 2009-2011 jclouds. All Rights Reserved.