org.jclouds.ec2.compute.functions
Class AddElasticIpsToNodemetadata

java.lang.Object
  extended by org.jclouds.ec2.compute.functions.AddElasticIpsToNodemetadata
All Implemented Interfaces:
com.google.common.base.Function<NodeMetadata,NodeMetadata>

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

This class searches for elastic ip addresses that are associated with the node, and adds them to the publicIpAddress collection if present.

Author:
Adrian Cole

Constructor Summary
protected AddElasticIpsToNodemetadata(com.google.common.cache.LoadingCache<RegionAndName,String> cache)
           
 
Method Summary
 NodeMetadata apply(NodeMetadata arg0)
           
 
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

AddElasticIpsToNodemetadata

@Inject
protected AddElasticIpsToNodemetadata(@Named(value="ELASTICIP")
                                             com.google.common.cache.LoadingCache<RegionAndName,String> cache)
Method Detail

apply

public NodeMetadata apply(NodeMetadata arg0)
Specified by:
apply in interface com.google.common.base.Function<NodeMetadata,NodeMetadata>


Copyright © 2009-2012 jclouds. All Rights Reserved.