org.jclouds.savvis.vpdc.compute.strategy
Class VPDCComputeServiceAdapter

java.lang.Object
  extended by org.jclouds.savvis.vpdc.compute.strategy.VPDCComputeServiceAdapter
All Implemented Interfaces:
org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

@Singleton
public class VPDCComputeServiceAdapter
extends Object
implements org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

defines the connection between the VPDCClient implementation and the jclouds ComputeService


Constructor Summary
VPDCComputeServiceAdapter(VPDCClient client, TaskSuccess taskSuccess)
           
 
Method Summary
 VM createNodeWithGroupEncodedIntoNameThenStoreCredentials(String tag, String name, org.jclouds.compute.domain.Template template, Map<String,org.jclouds.domain.Credentials> credentialStore)
           
 void destroyNode(String id)
           
 VM getNode(String id)
           
 Iterable<VMSpec> listHardwareProfiles()
           
 Iterable<org.jclouds.compute.domain.CIMOperatingSystem> listImages()
           
 Iterable<Network> listLocations()
           
 Iterable<VM> listNodes()
           
 void rebootNode(String id)
           
 void resumeNode(String id)
           
 void suspendNode(String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VPDCComputeServiceAdapter

@Inject
public VPDCComputeServiceAdapter(VPDCClient client,
                                        TaskSuccess taskSuccess)
Method Detail

createNodeWithGroupEncodedIntoNameThenStoreCredentials

public VM createNodeWithGroupEncodedIntoNameThenStoreCredentials(String tag,
                                                                 String name,
                                                                 org.jclouds.compute.domain.Template template,
                                                                 Map<String,org.jclouds.domain.Credentials> credentialStore)
Specified by:
createNodeWithGroupEncodedIntoNameThenStoreCredentials in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

listHardwareProfiles

public Iterable<VMSpec> listHardwareProfiles()
Specified by:
listHardwareProfiles in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

listImages

public Iterable<org.jclouds.compute.domain.CIMOperatingSystem> listImages()
Specified by:
listImages in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

listNodes

public Iterable<VM> listNodes()
Specified by:
listNodes in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

listLocations

public Iterable<Network> listLocations()
Specified by:
listLocations in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

getNode

public VM getNode(String id)
Specified by:
getNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

destroyNode

public void destroyNode(String id)
Specified by:
destroyNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

rebootNode

public void rebootNode(String id)
Specified by:
rebootNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

resumeNode

public void resumeNode(String id)
Specified by:
resumeNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>

suspendNode

public void suspendNode(String id)
Specified by:
suspendNode in interface org.jclouds.compute.ComputeServiceAdapter<VM,VMSpec,org.jclouds.compute.domain.CIMOperatingSystem,Network>


Copyright © 2009-2011 jclouds. All Rights Reserved.