Class S3SessionFactory
java.lang.Object
org.springframework.integration.aws.support.S3SessionFactory
- All Implemented Interfaces:
org.springframework.integration.file.remote.session.SessionFactory<software.amazon.awssdk.services.s3.model.S3Object>
,org.springframework.integration.file.remote.session.SharedSessionCapable
public class S3SessionFactory
extends Object
implements org.springframework.integration.file.remote.session.SessionFactory<software.amazon.awssdk.services.s3.model.S3Object>, 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 S3Client
.- Author:
- Artem Bilan, Xavier François
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
S3SessionFactory
public S3SessionFactory() -
S3SessionFactory
public S3SessionFactory(software.amazon.awssdk.services.s3.S3Client amazonS3)
-
-
Method Details
-
getSession
- Specified by:
getSession
in interfaceorg.springframework.integration.file.remote.session.SessionFactory<software.amazon.awssdk.services.s3.model.S3Object>
-
setEndpoint
-