Class GcsSessionFactory

  • All Implemented Interfaces:
    org.springframework.integration.file.remote.session.SessionFactory<BlobInfo>, org.springframework.integration.file.remote.session.SharedSessionCapable

    public class GcsSessionFactory
    extends Object
    implements org.springframework.integration.file.remote.session.SessionFactory<BlobInfo>, org.springframework.integration.file.remote.session.SharedSessionCapable
    A session factory implementation for Google Cloud Storage.
    • Constructor Detail

      • GcsSessionFactory

        public GcsSessionFactory​(Storage gcs)
    • Method Detail

      • getSession

        public org.springframework.integration.file.remote.session.Session<BlobInfo> getSession()
        Specified by:
        getSession in interface org.springframework.integration.file.remote.session.SessionFactory<BlobInfo>
      • isSharedSession

        public boolean isSharedSession()
        Specified by:
        isSharedSession in interface org.springframework.integration.file.remote.session.SharedSessionCapable
      • resetSharedSession

        public void resetSharedSession()
        Does nothing - this object doesn't need to be reset to be shared.
        Specified by:
        resetSharedSession in interface org.springframework.integration.file.remote.session.SharedSessionCapable