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
- StorageException
public StorageAccount getPrimaryStorageAccount()
public StorageAccount getStorageAccount(String storageProviderId)
public Map<String,StorageAccount> getStorageAccounts()
public boolean isInitialized() throws StorageException
StorageException
Copyright © 2009-2013 DuraSpace. All Rights Reserved.