org.jclouds.karaf.commands.compute
Class ComputeServiceCreateCommand

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.jclouds.karaf.commands.compute.ComputeCommandBase
          extended by org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
              extended by org.jclouds.karaf.commands.compute.ComputeServiceCreateCommand
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action

public class ComputeServiceCreateCommand
extends ComputeCommandWithOptions


Field Summary
protected  boolean noWait
           
protected  String[] options
           
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
api, credential, endpoint, identity, name, provider
 
Fields inherited from class org.jclouds.karaf.commands.compute.ComputeCommandBase
cacheProvider, computeServices, configAdmin, FACTORY_FILTER, NODE_DETAILS_FORMAT, PROVIDERFORMAT, shellTableFactory
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
ComputeServiceCreateCommand()
           
 
Method Summary
protected  Object doExecute()
           
 org.osgi.framework.BundleContext getBundleContext()
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 org.jclouds.compute.ComputeService waitForComputeService(org.osgi.framework.BundleContext bundleContext, String name, String provider, String api)
          Waits for the ComputeService registration.
 
Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
getComputeService, getComputeServices
 
Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandBase
execute, findOrCreateFactoryConfiguration, getAllLocations, getCacheProvider, getConfigAdmin, getCpuCores, getCpuUnits, getMemory, getOperatingSystemDetails, getPrivateAddresses, getPublicAddresses, getShellTableFactory, printComputeApis, printComputeProviders, printHardwares, printImages, printLocations, printNodeInfo, printNodes, setCacheProvider, setComputeServices, setConfigAdmin, setShellTableFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

options

protected String[] options

noWait

protected boolean noWait
Constructor Detail

ComputeServiceCreateCommand

public ComputeServiceCreateCommand()
Method Detail

doExecute

protected Object doExecute()
                    throws Exception
Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
Throws:
Exception

waitForComputeService

public org.jclouds.compute.ComputeService waitForComputeService(org.osgi.framework.BundleContext bundleContext,
                                                                String name,
                                                                String provider,
                                                                String api)
Waits for the ComputeService registration.

Parameters:
bundleContext -
provider -
api -
Returns:

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()

setBundleContext

public void setBundleContext(org.osgi.framework.BundleContext bundleContext)


Copyright © 2012. All Rights Reserved.