|
||||||||||
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, delegates, syncClientType |
Constructor Summary | |
---|---|
AWSS3RestClientModule()
|
Method Summary | |
---|---|
protected void |
configure()
|
protected String |
defaultRegionForBucket(String defaultRegion)
|
protected URI |
provideBucketURI(String endpoint)
|
Methods inherited from class org.jclouds.s3.config.S3RestClientModule |
---|
bindErrorHandlers, bucketToRegion, create, provideRequestSigner, provideTimeStamp, provideTimeStampCache |
Methods inherited from class org.jclouds.aws.config.AWSRestClientModule |
---|
bindRegionsToProvider, bindRegionsToProvider, bindRetryHandlers, getDefaultRegion, provideRegions |
Methods inherited from class org.jclouds.rest.config.RestClientModule |
---|
bindAsyncClient, bindClient |
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 |
---|
@Provides @Singleton protected URI provideBucketURI(@Named(value="jclouds.region.us-standard.endpoint") String endpoint)
protected String defaultRegionForBucket(String defaultRegion)
defaultRegionForBucket
in class S3RestClientModule<AWSS3Client,AWSS3AsyncClient>
protected void configure()
configure
in class S3RestClientModule<AWSS3Client,AWSS3AsyncClient>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |