org.jclouds.karaf.commands.compute
Class ComputeServiceCommand
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.jclouds.karaf.commands.compute.ComputeCommandBase
org.jclouds.karaf.commands.compute.ComputeCommandWithOptions
org.jclouds.karaf.commands.compute.ComputeServiceCommand
- All Implemented Interfaces:
- org.apache.felix.gogo.commands.Action
- Direct Known Subclasses:
- ComputeCreateCommand, ComputeDestroyCommand
public abstract class ComputeServiceCommand
- extends ComputeCommandWithOptions
| Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
log, session |
| Methods inherited from class org.jclouds.karaf.commands.compute.ComputeCommandBase |
execute, getAllLocations, getCacheProvider, getCpuCores, getCpuUnits, getMemory, getOperatingSystemDetails, getPrivateAddresses, getPublicAddresses, printComputeApis, printComputeProviders, printHardwares, printImages, printLocations, printLocations, printNodeInfo, printNodes, setCacheProvider, setComputeServices |
| Methods inherited from class org.apache.karaf.shell.console.AbstractAction |
doExecute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACTORY_FILTER
protected static final String FACTORY_FILTER
- See Also:
- Constant Field Values
configAdmin
protected org.osgi.service.cm.ConfigurationAdmin configAdmin
ComputeServiceCommand
public ComputeServiceCommand()
findOrCreateFactoryConfiguration
protected org.osgi.service.cm.Configuration findOrCreateFactoryConfiguration(org.osgi.service.cm.ConfigurationAdmin configurationAdmin,
String factoryPid,
String provider,
String api)
throws IOException
- Finds a
Configuration if exists, or creates a new one.
- Parameters:
configurationAdmin - factoryPid - provider - api -
- Returns:
-
- Throws:
IOException
getConfigAdmin
public org.osgi.service.cm.ConfigurationAdmin getConfigAdmin()
- Overrides:
getConfigAdmin in class ComputeCommandBase
setConfigAdmin
public void setConfigAdmin(org.osgi.service.cm.ConfigurationAdmin configAdmin)
- Overrides:
setConfigAdmin in class ComputeCommandBase
Copyright © 2012. All Rights Reserved.