org.jclouds.aws.ec2.compute.strategy
Class AWSEC2GetNodeMetadataStrategy

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

@Singleton
public class AWSEC2GetNodeMetadataStrategy
extends EC2GetNodeMetadataStrategy

Author:
Adrian Cole

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

Constructor Detail

AWSEC2GetNodeMetadataStrategy

@Inject
protected AWSEC2GetNodeMetadataStrategy(AWSEC2Client client,
                                               com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
                                               SpotInstanceRequestToAWSRunningInstance spotConverter)
Method Detail

getRunningInstanceInRegion

public RunningInstance getRunningInstanceInRegion(String region,
                                                  String id)
Overrides:
getRunningInstanceInRegion in class EC2GetNodeMetadataStrategy


Copyright © 2009-2012 jclouds. All Rights Reserved.