org.jclouds.cloudloadbalancers.loadbalancer.functions
Class LoadBalancerToLoadBalancerMetadata

java.lang.Object
  extended by org.jclouds.cloudloadbalancers.loadbalancer.functions.LoadBalancerToLoadBalancerMetadata
All Implemented Interfaces:
com.google.common.base.Function<LoadBalancer,LoadBalancerMetadata>

@Singleton
public class LoadBalancerToLoadBalancerMetadata
extends Object
implements com.google.common.base.Function<LoadBalancer,LoadBalancerMetadata>

Author:
Adrian Cole

Field Summary
protected  com.google.common.base.Supplier<Location> defaultLocationSupplier
           
protected  com.google.common.base.Supplier<Map<String,? extends Location>> locationMap
           
 
Constructor Summary
LoadBalancerToLoadBalancerMetadata(com.google.common.base.Supplier<Location> defaultLocationSupplier, com.google.common.base.Supplier<Map<String,? extends Location>> locationMap)
           
 
Method Summary
 LoadBalancerMetadata apply(LoadBalancer input)
           
 
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
 

Field Detail

locationMap

protected final com.google.common.base.Supplier<Map<String,? extends Location>> locationMap

defaultLocationSupplier

protected final com.google.common.base.Supplier<Location> defaultLocationSupplier
Constructor Detail

LoadBalancerToLoadBalancerMetadata

@Inject
public LoadBalancerToLoadBalancerMetadata(com.google.common.base.Supplier<Location> defaultLocationSupplier,
                                                 com.google.common.base.Supplier<Map<String,? extends Location>> locationMap)
Method Detail

apply

public LoadBalancerMetadata apply(LoadBalancer input)
Specified by:
apply in interface com.google.common.base.Function<LoadBalancer,LoadBalancerMetadata>


Copyright © 2009-2011 jclouds. All Rights Reserved.