org.jclouds.vcloud.functions
Class OrgNameToEndpoint

java.lang.Object
  extended by org.jclouds.vcloud.functions.OrgNameToEndpoint
All Implemented Interfaces:
com.google.common.base.Function<Object,URI>

@Singleton
public class OrgNameToEndpoint
extends Object
implements com.google.common.base.Function<Object,URI>

Author:
Adrian Cole

Constructor Summary
OrgNameToEndpoint(com.google.common.base.Supplier<Map<String,ReferenceType>> orgNameToEndpointSupplier, ReferenceType defaultOrg)
           
 
Method Summary
 URI apply(Object from)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

OrgNameToEndpoint

@Inject
public OrgNameToEndpoint(com.google.common.base.Supplier<Map<String,ReferenceType>> orgNameToEndpointSupplier,
                                ReferenceType defaultOrg)
Method Detail

apply

public URI apply(Object from)
Specified by:
apply in interface com.google.common.base.Function<Object,URI>


Copyright © 2009-2012 jclouds. All Rights Reserved.