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<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.NodeMetadata>

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

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


Constructor Summary
protected AddElasticIpsToNodemetadata(com.google.common.cache.LoadingCache<RegionAndName,String> cache)
           
 
Method Summary
 org.jclouds.compute.domain.NodeMetadata apply(org.jclouds.compute.domain.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 org.jclouds.compute.domain.NodeMetadata apply(org.jclouds.compute.domain.NodeMetadata arg0)
Specified by:
apply in interface com.google.common.base.Function<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.domain.NodeMetadata>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.