|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.inject.AbstractModule org.jclouds.rest.config.RestClientModule<S,A> org.jclouds.aws.config.AWSRestClientModule<S,A> org.jclouds.s3.config.S3RestClientModule<AWSS3Client,AWSS3AsyncClient> org.jclouds.aws.s3.config.AWSS3RestClientModule
public class AWSS3RestClientModule
Configures the S3 connection.
Field Summary |
---|
Fields inherited from class org.jclouds.rest.config.RestClientModule |
---|
asyncClientType, authException, delegates, syncClientType, URI_SUPPLIER_TYPE |
Constructor Summary | |
---|---|
AWSS3RestClientModule()
|
Method Summary | |
---|---|
protected void |
configure()
|
protected com.google.common.base.Supplier<String> |
defaultRegionForBucket(com.google.common.base.Supplier<String> defaultRegion)
|
protected com.google.common.base.Supplier<URI> |
provideBucketURI(String endpoint)
|
Methods inherited from class org.jclouds.s3.config.S3RestClientModule |
---|
bindErrorHandlers, bindRetryHandlers, bucketToRegion, create, provideRequestSigner, provideTimeStamp, provideTimeStampCache |
Methods inherited from class org.jclouds.rest.config.RestClientModule |
---|
bindAsyncClient, bindClient, 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 |
---|
public AWSS3RestClientModule()
Method Detail |
---|
protected com.google.common.base.Supplier<String> defaultRegionForBucket(com.google.common.base.Supplier<String> defaultRegion)
defaultRegionForBucket
in class S3RestClientModule<AWSS3Client,AWSS3AsyncClient>
protected void configure()
configure
in class S3RestClientModule<AWSS3Client,AWSS3AsyncClient>
@Provides @Singleton protected com.google.common.base.Supplier<URI> provideBucketURI(@Named(value="jclouds.region.us-standard.endpoint") String endpoint)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |