org.jclouds.s3
Class S3ContextBuilder

java.lang.Object
  extended by org.jclouds.rest.RestContextBuilder<S,A>
      extended by org.jclouds.blobstore.BlobStoreContextBuilder<S3Client,S3AsyncClient>
          extended by org.jclouds.s3.S3ContextBuilder
Direct Known Subclasses:
AWSS3ContextBuilder, WalrusContextBuilder

public class S3ContextBuilder
extends BlobStoreContextBuilder<S3Client,S3AsyncClient>

Creates S3Context 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:
S3Context

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

Constructor Detail

S3ContextBuilder

public S3ContextBuilder(Properties props)
Method Detail

addContextModule

protected void addContextModule(List<com.google.inject.Module> modules)
Overrides:
addContextModule in class RestContextBuilder<S3Client,S3AsyncClient>

addClientModule

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


Copyright © 2009-2011 jclouds. All Rights Reserved.