public class TaskProviderFactory extends ProviderFactoryBase
| Constructor and Description |
|---|
TaskProviderFactory(org.duracloud.storage.domain.StorageAccountManager storageAccountManager,
org.duracloud.storage.util.StorageProviderFactory storageProviderFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.duracloud.storage.provider.TaskProvider |
getTaskProvider()
Retrieves the primary task provider for a given customer.
|
org.duracloud.storage.provider.TaskProvider |
getTaskProvider(String storageAccountId)
Retrieves a particular task provider based on the storage account ID.
|
getAccountManager, getInitConfig, initialize, initialize, isInitializedpublic TaskProviderFactory(org.duracloud.storage.domain.StorageAccountManager storageAccountManager,
org.duracloud.storage.util.StorageProviderFactory storageProviderFactory)
public org.duracloud.storage.provider.TaskProvider getTaskProvider()
org.duracloud.storage.error.StorageExceptionpublic org.duracloud.storage.provider.TaskProvider getTaskProvider(String storageAccountId) throws org.duracloud.storage.error.TaskException
storageAccountId - - the ID of the provider accountorg.duracloud.storage.error.TaskExceptionCopyright © 2009–2015 DuraSpace. All rights reserved.