Class StorageProviderFactory


  • public class StorageProviderFactory
    extends Object
    The class knows how to create a StorageProvider based on a set of credentials.
    Author:
    Daniel Bernstein Date: Nov 6, 2013
    • Constructor Detail

      • StorageProviderFactory

        public StorageProviderFactory()
    • Method Detail

      • createWithAudit

        public org.duracloud.storage.provider.StorageProvider createWithAudit​(StorageProviderCredentials credentials,
                                                                              String accountSubdomain,
                                                                              org.duracloud.common.queue.TaskQueue auditQueue)
        Creates a StorageProvider which captures events and passes them to the audit queue.
        Parameters:
        credentials - needed to connect to storage provider
        accountSubdomain - subdomain of the storage provider account
        auditQueue - used to capture changes to stored content
        Returns:
      • create

        public org.duracloud.storage.provider.StorageProvider create​(StorageProviderCredentials credentials)
        Creates a StorageProvider
        Parameters:
        credentials -
        Returns: