public class CloudUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
parseProviderOptions(String[] options)
Creates a
Map of Strings, which contain provider specific options. |
static void |
registerApi(org.apache.curator.framework.CuratorFramework curator,
org.osgi.service.cm.ConfigurationAdmin configurationAdmin,
String name,
String api,
String endpoint,
String identity,
String credential,
Map<String,String> props) |
static void |
registerProvider(org.apache.curator.framework.CuratorFramework curator,
org.osgi.service.cm.ConfigurationAdmin configurationAdmin,
String name,
String provider,
String identity,
String credential,
Map<String,String> props) |
static org.jclouds.compute.ComputeService |
waitForComputeService(org.osgi.framework.BundleContext bundleContext,
String name)
Returns the compute service when it becomes registered to the OSGi service registry.
|
public static Map<String,String> parseProviderOptions(String[] options)
Map of Strings, which contain provider specific options.
It's used to read from commands multi value key value pairs '=' separated.options - An array of Strings which represent '=' key values.public static void registerProvider(org.apache.curator.framework.CuratorFramework curator,
org.osgi.service.cm.ConfigurationAdmin configurationAdmin,
String name,
String provider,
String identity,
String credential,
Map<String,String> props)
throws Exception
Exceptionpublic static void registerApi(org.apache.curator.framework.CuratorFramework curator,
org.osgi.service.cm.ConfigurationAdmin configurationAdmin,
String name,
String api,
String endpoint,
String identity,
String credential,
Map<String,String> props)
throws Exception
Exceptionpublic static org.jclouds.compute.ComputeService waitForComputeService(org.osgi.framework.BundleContext bundleContext,
String name)
name - Copyright © 2011–2014 Red Hat. All rights reserved.