org.jclouds.karaf.chef.commands
Class ChefServiceCreateCommand
java.lang.Object
org.apache.karaf.shell.console.AbstractAction
org.jclouds.karaf.chef.commands.ChefCommandBase
org.jclouds.karaf.chef.commands.ChefCommandWithOptions
org.jclouds.karaf.chef.commands.ChefServiceCreateCommand
- All Implemented Interfaces:
- org.apache.felix.gogo.commands.Action
public class ChefServiceCreateCommand
- extends ChefCommandWithOptions
| Fields inherited from class org.apache.karaf.shell.console.AbstractAction |
log, session |
| Methods inherited from class org.jclouds.karaf.chef.commands.ChefCommandBase |
execute, findOrCreateFactoryConfiguration, getCacheProvider, getConfigAdmin, getShellTableFactory, printChefApis, printCookbooks, setCacheProvider, setChefServices, setConfigAdmin, setShellTableFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
options
protected String[] options
noWait
protected boolean noWait
ChefServiceCreateCommand
public ChefServiceCreateCommand()
doExecute
protected Object doExecute()
throws Exception
- Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
- Throws:
Exception
waitForChefService
public org.jclouds.chef.ChefService waitForChefService(org.osgi.framework.BundleContext bundleContext,
String name,
String api)
- Waits for the
ChefService registration.
- Parameters:
bundleContext - api -
- Returns:
getBundleContext
public org.osgi.framework.BundleContext getBundleContext()
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Copyright © 2013. All Rights Reserved.