public class ChefServiceCreateCommand extends ChefCommandWithOptions
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
noWait |
protected java.lang.String[] |
options |
api, clientKeyFile, clientName, endpoint, name, validatorKeyFile, validatorNamecacheProvider, chefServices, configAdmin, FACTORY_FILTER, PROVIDERFORMAT, shellTableFactory| Constructor and Description |
|---|
ChefServiceCreateCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
doExecute() |
org.osgi.framework.BundleContext |
getBundleContext() |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
org.jclouds.chef.ChefService |
waitForChefService(org.osgi.framework.BundleContext bundleContext,
java.lang.String name,
java.lang.String api)
Waits for the
ChefService registration. |
getChefService, getChefServicesexecute, findOrCreateFactoryConfiguration, getCacheProvider, getConfigAdmin, getShellTableFactory, printChefApis, printCookbooks, setCacheProvider, setChefServices, setConfigAdmin, setShellTableFactoryprotected java.lang.Object doExecute()
throws java.lang.Exception
doExecute in class org.apache.karaf.shell.console.AbstractActionjava.lang.Exceptionpublic org.jclouds.chef.ChefService waitForChefService(org.osgi.framework.BundleContext bundleContext,
java.lang.String name,
java.lang.String api)
ChefService registration.bundleContext - api - public org.osgi.framework.BundleContext getBundleContext()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
Copyright © 2013. All Rights Reserved.