org.jclouds.trmk.vcloud_0_8.functions
Class OrgNameAndVDCNameToEndpoint

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

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

Author:
Adrian Cole

Constructor Summary
OrgNameAndVDCNameToEndpoint(com.google.common.base.Supplier<Map<String,? extends Org>> orgNameToVDCEndpoint, ReferenceType defaultOrg, ReferenceType defaultVDC)
           
 
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

OrgNameAndVDCNameToEndpoint

@Inject
public OrgNameAndVDCNameToEndpoint(com.google.common.base.Supplier<Map<String,? extends Org>> orgNameToVDCEndpoint,
                                          ReferenceType defaultOrg,
                                          ReferenceType defaultVDC)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.