@Singleton public class VCloudComputeServiceAdapter extends Object implements ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>
VCloudClient implementation and the jclouds
 ComputeServiceComputeServiceAdapter.NodeAndInitialCredentials<N>| Modifier and Type | Field and Description | 
|---|---|
| protected InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn | booter | 
| protected VCloudClient | client | 
| protected Logger | logger | 
| protected com.google.common.base.Supplier<Map<String,Org>> | nameToOrg | 
| protected com.google.common.base.Predicate<URI> | successTester | 
| protected com.google.common.base.Supplier<Set<VAppTemplate>> | templates | 
| protected com.google.common.base.Function<VAppTemplate,Envelope> | templateToEnvelope | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | VCloudComputeServiceAdapter(VCloudClient client,
                           com.google.common.base.Predicate<URI> successTester,
                           InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn booter,
                           com.google.common.base.Supplier<Map<String,Org>> nameToOrg,
                           VAppTemplatesSupplier templates,
                           com.google.common.base.Function<VAppTemplate,Envelope> templateToEnvelope) | 
| Modifier and Type | Method and Description | 
|---|---|
| ComputeServiceAdapter.NodeAndInitialCredentials<VApp> | createNodeWithGroupEncodedIntoName(String group,
                                  String name,
                                  Template template)ComputeService.createNodesInGroup(String, int, Template)generates the parameters
 passed into this method such that each node in the set has a unique name. | 
| void | destroyNode(String id) | 
| VAppTemplate | getImage(String in)get a specific image by id | 
| VApp | getNode(String in) | 
| Iterable<VAppTemplate> | listHardwareProfiles()Hardware profiles describe available cpu, memory, and disk configurations that can be used to
 run a node. | 
| Iterable<VAppTemplate> | listImages()Images are the available configured operating systems that someone can run a node with. | 
| Iterable<Location> | listLocations() | 
| Iterable<VApp> | listNodes() | 
| void | rebootNode(String in) | 
| void | resumeNode(String in) | 
| void | suspendNode(String in) | 
| void | waitForTask(Task task) | 
@Named(value="jclouds.compute") protected Logger logger
protected final VCloudClient client
protected final com.google.common.base.Predicate<URI> successTester
protected final InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn booter
protected final com.google.common.base.Supplier<Set<VAppTemplate>> templates
protected final com.google.common.base.Function<VAppTemplate,Envelope> templateToEnvelope
@Inject protected VCloudComputeServiceAdapter(VCloudClient client, com.google.common.base.Predicate<URI> successTester, InstantiateVAppTemplateWithGroupEncodedIntoNameThenCustomizeDeployAndPowerOn booter, com.google.common.base.Supplier<Map<String,Org>> nameToOrg, VAppTemplatesSupplier templates, com.google.common.base.Function<VAppTemplate,Envelope> templateToEnvelope)
public ComputeServiceAdapter.NodeAndInitialCredentials<VApp> createNodeWithGroupEncodedIntoName(String group, String name, Template template)
ComputeServiceAdapterComputeService.createNodesInGroup(String, int, Template) generates the parameters
 passed into this method such that each node in the set has a unique name.
 
 N. If you are not using library-native objects (such as libvirt Domain) use
 JCloudsNativeComputeServiceAdapter instead.
 
 credentialStorecreateNodeWithGroupEncodedIntoName in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>group - used to aggregate nodes with identical configurationname - unique supplied name for the node, which has the group encoded into it.template - includes imageId, locationId, and hardwareId used to resume
           the instance.ComputeService.createNodesInGroup(String, int, Template)public Iterable<VAppTemplate> listHardwareProfiles()
ComputeServiceAdapterlistHardwareProfiles in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>ComputeService.listHardwareProfiles()public Iterable<VAppTemplate> listImages()
ComputeServiceAdapterlistImages in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>ComputeService.listImages()public Iterable<VApp> listNodes()
listNodes in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>public Iterable<Location> listLocations()
listLocations in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>public VApp getNode(String in)
getNode in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>public VAppTemplate getImage(String in)
ComputeServiceAdaptergetImage in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>in - ComputeMetadata.getId(), which is not necessarily ComputeMetadata.getProviderId()public void destroyNode(String id)
destroyNode in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>public void waitForTask(Task task)
public void rebootNode(String in)
rebootNode in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>public void resumeNode(String in)
resumeNode in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>public void suspendNode(String in)
suspendNode in interface ComputeServiceAdapter<VApp,VAppTemplate,VAppTemplate,Location>Copyright © 2009-2013 jclouds. All Rights Reserved.