Class S3SessionFactory
java.lang.Object
org.springframework.integration.aws.support.S3SessionFactory
- All Implemented Interfaces:
org.springframework.integration.file.remote.session.SessionFactory<S3ObjectSummary>,org.springframework.integration.file.remote.session.SharedSessionCapable
public class S3SessionFactory
extends Object
implements org.springframework.integration.file.remote.session.SessionFactory<S3ObjectSummary>, org.springframework.integration.file.remote.session.SharedSessionCapable
An Amazon S3 specific
SessionFactory implementation. Also this class implements
SharedSessionCapable around the single instance, since the S3Session is
simple thread-safe wrapper for the AmazonS3.- Author:
- Artem Bilan, Xavier François
-
Constructor Summary
ConstructorsConstructorDescriptionS3SessionFactory(AmazonS3 amazonS3) S3SessionFactory(AmazonS3 amazonS3, io.awspring.cloud.core.env.ResourceIdResolver resourceIdResolver) -
Method Summary
-
Constructor Details
-
S3SessionFactory
public S3SessionFactory() -
S3SessionFactory
-
S3SessionFactory
public S3SessionFactory(AmazonS3 amazonS3, io.awspring.cloud.core.env.ResourceIdResolver resourceIdResolver)
-
-
Method Details
-
getSession
- Specified by:
getSessionin interfaceorg.springframework.integration.file.remote.session.SessionFactory<S3ObjectSummary>
-
setEndpoint
-