org.jclouds.openstack.keystone.v2_0.suppliers
Class LocationIdToURIFromAccessForTypeAndVersion

java.lang.Object
  extended by org.jclouds.openstack.keystone.v2_0.suppliers.LocationIdToURIFromAccessForTypeAndVersion
All Implemented Interfaces:
com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<URI>>>
Direct Known Subclasses:
RegionIdToAdminURIFromAccessForTypeAndVersion, RegionIdToURIFromAccessForTypeAndVersion, ZoneIdToURIFromAccessForTypeAndVersion

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


Nested Class Summary
static interface LocationIdToURIFromAccessForTypeAndVersion.Factory
           
 
Field Summary
protected  com.google.common.base.Supplier<Access> access
           
protected  String apiType
           
protected  String apiVersion
           
protected  com.google.common.base.Function<Endpoint,String> endpointToLocationId
           
protected  EndpointToSupplierURI endpointToSupplierURI
           
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
LocationIdToURIFromAccessForTypeAndVersion(com.google.common.base.Supplier<Access> access, EndpointToSupplierURI endpointToSupplierURI, com.google.common.base.Function<Endpoint,String> endpointToLocationId, String apiType, String apiVersion)
           
 
Method Summary
 Map<String,com.google.common.base.Supplier<URI>> get()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

protected org.jclouds.logging.Logger logger

access

protected final com.google.common.base.Supplier<Access> access

endpointToSupplierURI

protected final EndpointToSupplierURI endpointToSupplierURI

endpointToLocationId

protected final com.google.common.base.Function<Endpoint,String> endpointToLocationId

apiType

protected final String apiType

apiVersion

protected final String apiVersion
Constructor Detail

LocationIdToURIFromAccessForTypeAndVersion

@Inject
public LocationIdToURIFromAccessForTypeAndVersion(com.google.common.base.Supplier<Access> access,
                                                         EndpointToSupplierURI endpointToSupplierURI,
                                                         com.google.common.base.Function<Endpoint,String> endpointToLocationId,
                                                         String apiType,
                                                         @Nullable
                                                         String apiVersion)
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>>>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.