Package org.craftercms.commons.aws
Class S3ClientCachingFactory
- java.lang.Object
-
- org.craftercms.commons.aws.AbstractAwsClientCachingFactory<S3Profile,com.amazonaws.services.s3.AmazonS3>
-
- org.craftercms.commons.aws.S3ClientCachingFactory
-
- All Implemented Interfaces:
com.google.common.cache.RemovalListener<S3Profile,com.amazonaws.services.s3.AmazonS3>
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class S3ClientCachingFactory extends AbstractAwsClientCachingFactory<S3Profile,com.amazonaws.services.s3.AmazonS3>
AbstractAwsClientCachingFactory
for S3 clients.- Author:
- avasquez
-
-
Field Summary
-
Fields inherited from class org.craftercms.commons.aws.AbstractAwsClientCachingFactory
DEFAULT_SHUTDOWN_CLIENT_AFTER_IDLE_SECS
-
-
Constructor Summary
Constructors Constructor Description S3ClientCachingFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.amazonaws.services.s3.AmazonS3
createClient(S3Profile profile)
-
Methods inherited from class org.craftercms.commons.aws.AbstractAwsClientCachingFactory
afterPropertiesSet, destroy, getClient, onRemoval, setShutdownClientAfterIdleSecs, shutdownClient
-
-
-
-
Method Detail
-
createClient
protected com.amazonaws.services.s3.AmazonS3 createClient(S3Profile profile)
- Specified by:
createClient
in classAbstractAwsClientCachingFactory<S3Profile,com.amazonaws.services.s3.AmazonS3>
-
-