org.jclouds.karaf.commands.blobstore
Class BlobStoreCreateCommand

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.jclouds.karaf.commands.blobstore.BlobStoreCommandSupport
          extended by org.jclouds.karaf.commands.blobstore.BlobStoreServiceCommand
              extended by org.jclouds.karaf.commands.blobstore.BlobStoreCreateCommand
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action

public class BlobStoreCreateCommand
extends BlobStoreServiceCommand


Field Summary
protected  boolean noWait
           
protected  String[] options
           
 
Fields inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreServiceCommand
configAdmin, FACTORY_FILTER
 
Fields inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreCommandSupport
api, cacheProvider, credential, endpoint, identity, provider, PROVIDERFORMAT
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
BlobStoreCreateCommand()
           
 
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 provider, String api)
          Waits for the BlobStore registration.
 
Methods inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreServiceCommand
findOrCreateFactoryConfiguration, getConfigAdmin, setConfigAdmin
 
Methods inherited from class org.jclouds.karaf.commands.blobstore.BlobStoreCommandSupport
execute, getBlobInputStream, getBlobStore, getBlobStoreServices, getCacheProvider, printBlobStoreApis, printBlobStoreProviders, read, readFromUrl, setBlobStoreServices, setCacheProvider, toBytes, write, 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

BlobStoreCreateCommand

public BlobStoreCreateCommand()
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 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 © 2012. All Rights Reserved.