org.jclouds.s3.blobstore.config
Class S3BlobStoreContextModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.s3.blobstore.config.S3BlobStoreContextModule
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
AWSS3BlobStoreContextModule

public class S3BlobStoreContextModule
extends com.google.inject.AbstractModule

Configures the S3BlobStoreContext; requires S3AsyncBlobStore bound.

Author:
Adrian Cole

Constructor Summary
S3BlobStoreContextModule()
           
 
Method Summary
protected  void bindBucketLocationStrategy()
           
protected  void bindContext()
           
protected  Map<String,AccessControlList> bucketAcls(S3Client client)
           
protected  void configure()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S3BlobStoreContextModule

public S3BlobStoreContextModule()
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

bindContext

protected void bindContext()

bindBucketLocationStrategy

protected void bindBucketLocationStrategy()

bucketAcls

@Provides
@Singleton
protected Map<String,AccessControlList> bucketAcls(S3Client client)


Copyright © 2009-2011 jclouds. All Rights Reserved.