org.jclouds.aws.s3.config
Class AWSS3RestClientModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.rest.config.RestModule
          extended by org.jclouds.rest.config.RestClientModule<S,A>
              extended by org.jclouds.aws.config.AWSRestClientModule<S,A>
                  extended by org.jclouds.s3.config.S3RestClientModule<AWSS3Client,AWSS3AsyncClient>
                      extended by org.jclouds.aws.s3.config.AWSS3RestClientModule
All Implemented Interfaces:
com.google.inject.Module

public class AWSS3RestClientModule
extends org.jclouds.s3.config.S3RestClientModule<AWSS3Client,AWSS3AsyncClient>

Configures the S3 connection.


Field Summary
 
Fields inherited from class org.jclouds.rest.config.RestClientModule
asyncClientType, syncClientType
 
Fields inherited from class org.jclouds.rest.config.RestModule
authException, URI_SUPPLIER_TYPE
 
Constructor Summary
AWSS3RestClientModule()
           
 
Method Summary
protected  void bindRequestSigner()
           
protected  void configure()
           
protected  com.google.common.base.Supplier<String> defaultRegionForBucket(com.google.common.base.Supplier<String> defaultRegion)
           
 
Methods inherited from class org.jclouds.s3.config.S3RestClientModule
bindErrorHandlers, bindRetryHandlers, bucketToRegion, bucketToRegion, provideBucketURI, provideRequestSigner, provideTimeStamp, provideTimeStampCache
 
Methods inherited from class org.jclouds.aws.config.AWSRestClientModule
provideRetryableCodes, provideRetryableServerCodes
 
Methods inherited from class org.jclouds.rest.config.RestModule
installLocations
 
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

AWSS3RestClientModule

public AWSS3RestClientModule()
Method Detail

defaultRegionForBucket

protected com.google.common.base.Supplier<String> defaultRegionForBucket(com.google.common.base.Supplier<String> defaultRegion)
Overrides:
defaultRegionForBucket in class org.jclouds.s3.config.S3RestClientModule<AWSS3Client,AWSS3AsyncClient>

configure

protected void configure()
Overrides:
configure in class org.jclouds.s3.config.S3RestClientModule<AWSS3Client,AWSS3AsyncClient>

bindRequestSigner

protected void bindRequestSigner()
Overrides:
bindRequestSigner in class org.jclouds.s3.config.S3RestClientModule<AWSS3Client,AWSS3AsyncClient>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.