org.jclouds.karaf.commands.blobstore
Class BlobStoreServiceCreateCommand

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.jclouds.karaf.commands.blobstore.BlobStoreCommandBase
          extended by org.jclouds.karaf.commands.blobstore.BlobStoreCommandWithOptions
              extended by org.jclouds.karaf.commands.blobstore.BlobStoreServiceCreateCommand
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action

public class BlobStoreServiceCreateCommand
extends BlobStoreCommandWithOptions


Field Summary
protected  boolean noWait
           
protected  String[] options
           
 
Fields inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreCommandWithOptions
api, credential, endpoint, identity, name, propertiesFile, provider
 
Fields inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreCommandBase
blobStoreServices, cacheProvider, configAdmin, FACTORY_FILTER, PROVIDERFORMAT
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
BlobStoreServiceCreateCommand()
           
 
Method Summary
protected  Object doExecute()
           
 org.osgi.framework.BundleContext getBundleContext()
           
 void setBundleContext(org.osgi.framework.BundleContext bundleContext)
           
 org.jclouds.blobstore.BlobStore waitForBlobStore(org.osgi.framework.BundleContext bundleContext, String name, String provider, String api)
          Waits for the BlobStore registration.
 
Methods inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreCommandWithOptions
execute, getBlobStore, getBlobStoreServices
 
Methods inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreCommandBase
findOrCreateFactoryConfiguration, getBlobInputStream, getCacheProvider, getConfigAdmin, printBlobStoreApis, printBlobStoreProviders, setBlobStoreServices, setCacheProvider, setConfigAdmin, write
 
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

BlobStoreServiceCreateCommand

public BlobStoreServiceCreateCommand()
Method Detail

doExecute

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

waitForBlobStore

public org.jclouds.blobstore.BlobStore waitForBlobStore(org.osgi.framework.BundleContext bundleContext,
                                                        String name,
                                                        String provider,
                                                        String api)
Waits for the BlobStore registration.

Parameters:
bundleContext -
provider -
api -
Returns:

getBundleContext

public org.osgi.framework.BundleContext getBundleContext()

setBundleContext

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


Copyright © 2013. All Rights Reserved.