public class StorageAccountManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
StorageAccountManager() |
| Modifier and Type | Method and Description |
|---|---|
StorageAccount |
getPrimaryStorageAccount() |
StorageAccount |
getStorageAccount(String storageProviderId) |
Iterator<String> |
getStorageAccountIds() |
Map<String,StorageAccount> |
getStorageAccounts() |
void |
initialize(InputStream accountXml)
Parses xml to construct a listing of available storage accounts.
|
boolean |
isInitialized() |
public void initialize(InputStream accountXml) throws StorageException
accountXml - StorageExceptionpublic StorageAccount getPrimaryStorageAccount()
public StorageAccount getStorageAccount(String storageProviderId)
public Map<String,StorageAccount> getStorageAccounts()
public boolean isInitialized()
throws StorageException
StorageExceptionCopyright © 2009-2013 DuraSpace. All Rights Reserved.