org.jclouds.servermanager.compute.functions
Class DatacenterToLocation

java.lang.Object
  extended by org.jclouds.servermanager.compute.functions.DatacenterToLocation
All Implemented Interfaces:
com.google.common.base.Function<Datacenter,Location>

@Singleton
public class DatacenterToLocation
extends Object
implements com.google.common.base.Function<Datacenter,Location>

Author:
Adrian Cole

Constructor Summary
DatacenterToLocation(javax.inject.Provider<com.google.common.base.Supplier<Location>> provider)
           
 
Method Summary
 Location apply(Datacenter 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

DatacenterToLocation

@Inject
public DatacenterToLocation(javax.inject.Provider<com.google.common.base.Supplier<Location>> provider)
Method Detail

apply

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


Copyright © 2009-2011 jclouds. All Rights Reserved.