org.jclouds.ec2.compute.strategy
Class EC2GetNodeMetadataStrategy
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EC2GetNodeMetadataStrategy
@Inject
protected EC2GetNodeMetadataStrategy(EC2Client client,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata)
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.