org.duracloud.durastore.util
Class ProviderFactoryBase
java.lang.Object
org.duracloud.durastore.util.ProviderFactoryBase
- Direct Known Subclasses:
- StorageProviderFactoryImpl, TaskProviderFactory
public class ProviderFactoryBase
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProviderFactoryBase
public ProviderFactoryBase(StorageAccountManager storageAccountManager)
initialize
public void initialize(InputStream accountXml)
throws StorageException
- Initializes DuraStore with account information
necessary to connect to Storage Providers.
- Parameters:
accountXml
- A stream containing account information in XML format
- Throws:
StorageException
getAccountManager
protected StorageAccountManager getAccountManager()
throws StorageException
- Gets the account manager
- Throws:
StorageException
isInitialized
public boolean isInitialized()
Copyright © 2009-2012 DuraSpace. All Rights Reserved.