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

java.lang.Object
  extended by org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
      extended by org.jclouds.aws.ec2.compute.strategy.AWSEC2DestroyNodeStrategy
All Implemented Interfaces:
DestroyNodeStrategy

@Singleton
public class AWSEC2DestroyNodeStrategy
extends EC2DestroyNodeStrategy

Author:
Adrian Cole

Field Summary
protected  AWSEC2Client client
           
protected  Map<String,Credentials> credentialStore
           
 
Fields inherited from class org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
getNode, logger
 
Constructor Summary
protected AWSEC2DestroyNodeStrategy(AWSEC2Client client, GetNodeMetadataStrategy getNode, Map<String,Credentials> credentialStore)
           
 
Method Summary
protected  void destroyInstanceInRegion(String region, String id)
           
 
Methods inherited from class org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
destroyNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

protected final AWSEC2Client client

credentialStore

protected final Map<String,Credentials> credentialStore
Constructor Detail

AWSEC2DestroyNodeStrategy

@Inject
protected AWSEC2DestroyNodeStrategy(AWSEC2Client client,
                                           GetNodeMetadataStrategy getNode,
                                           Map<String,Credentials> credentialStore)
Method Detail

destroyInstanceInRegion

protected void destroyInstanceInRegion(String region,
                                       String id)
Overrides:
destroyInstanceInRegion in class EC2DestroyNodeStrategy


Copyright © 2009-2011 jclouds. All Rights Reserved.