Class GcsSessionFactory
java.lang.Object
com.google.cloud.spring.storage.integration.GcsSessionFactory
- All Implemented Interfaces:
org.springframework.integration.file.remote.session.SessionFactory<com.google.cloud.storage.BlobInfo>
,org.springframework.integration.file.remote.session.SharedSessionCapable
public class GcsSessionFactory
extends Object
implements org.springframework.integration.file.remote.session.SessionFactory<com.google.cloud.storage.BlobInfo>, org.springframework.integration.file.remote.session.SharedSessionCapable
A session factory implementation for Google Cloud Storage.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.integration.file.remote.session.Session<com.google.cloud.storage.BlobInfo>
boolean
void
Does nothing - this object doesn't need to be reset to be shared.
-
Constructor Details
-
GcsSessionFactory
public GcsSessionFactory(com.google.cloud.storage.Storage gcs)
-
-
Method Details
-
getSession
public org.springframework.integration.file.remote.session.Session<com.google.cloud.storage.BlobInfo> getSession()- Specified by:
getSession
in interfaceorg.springframework.integration.file.remote.session.SessionFactory<com.google.cloud.storage.BlobInfo>
-