org.jclouds.azure.storage
Class AzureStorageContextBuilder<S,A>

java.lang.Object
  extended by org.jclouds.rest.RestContextBuilder<S,A>
      extended by org.jclouds.azure.storage.AzureStorageContextBuilder<S,A>

public class AzureStorageContextBuilder<S,A>
extends RestContextBuilder<S,A>

Creates AzureStorageStoreContext or Injector instances based on the most commonly requested arguments.

Note that Threadsafe objects will be bound as singletons to the Injector or Context provided.

If no Modules are specified, the default logging and http transports will be installed.

Author:
Adrian Cole, Andrew Newdigate
See Also:
AzureStorageStoreContext

Field Summary
 
Fields inherited from class org.jclouds.rest.RestContextBuilder
asyncClientType, modules, properties, syncClientType
 
Constructor Summary
AzureStorageContextBuilder(Class<S> syncClientClass, Class<A> asyncClientClass, Properties properties)
           
 
Method Summary
protected  void addClientModule(List<com.google.inject.Module> modules)
           
 
Methods inherited from class org.jclouds.rest.RestContextBuilder
addClientModuleIfNotPresent, addContextModule, addContextModuleIfNotPresent, addCredentialStoreIfNotPresent, addExecutorServiceIfNotPresent, addHttpModuleIfNeededAndNotPresent, addLoggingModuleIfNotPresent, buildContext, buildInjector, getProperties, ifHttpConfigureRestOtherwiseGuiceClientFactory, withModules
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AzureStorageContextBuilder

public AzureStorageContextBuilder(Class<S> syncClientClass,
                                  Class<A> asyncClientClass,
                                  Properties properties)
Method Detail

addClientModule

protected void addClientModule(List<com.google.inject.Module> modules)
Overrides:
addClientModule in class RestContextBuilder<S,A>


Copyright © 2009-2011 jclouds. All Rights Reserved.