org.jclouds.ec2.compute.strategy
Class EC2GetNodeMetadataStrategy

java.lang.Object
  extended by org.jclouds.ec2.compute.strategy.EC2GetNodeMetadataStrategy
All Implemented Interfaces:
GetNodeMetadataStrategy
Direct Known Subclasses:
AWSEC2GetNodeMetadataStrategy

@Singleton
public class EC2GetNodeMetadataStrategy
extends Object
implements GetNodeMetadataStrategy

Author:
Adrian Cole

Constructor Summary
protected EC2GetNodeMetadataStrategy(EC2Client client, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata)
           
 
Method Summary
 NodeMetadata getNode(String id)
           
 RunningInstance getRunningInstanceInRegion(String region, String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EC2GetNodeMetadataStrategy

@Inject
protected EC2GetNodeMetadataStrategy(EC2Client client,
                                            com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata)
Method Detail

getNode

public NodeMetadata getNode(String id)
Specified by:
getNode in interface GetNodeMetadataStrategy

getRunningInstanceInRegion

public RunningInstance getRunningInstanceInRegion(String region,
                                                  String id)


Copyright © 2009-2011 jclouds. All Rights Reserved.