public abstract class ProviderFactoryBase extends Object
Constructor and Description |
---|
ProviderFactoryBase(StorageAccountManager storageAccountManager) |
Modifier and Type | Method and Description |
---|---|
protected StorageAccountManager |
getAccountManager() |
protected DuraStoreInitConfig |
getInitConfig() |
void |
initialize(DuraStoreInitConfig initConfig,
String instanceHost,
String instancePort)
Initializes DuraStore with account information
necessary to connect to Storage Providers.
|
void |
initialize(InputStream initXml,
String instanceHost,
String instancePort)
Deprecated.
|
boolean |
isInitialized() |
public ProviderFactoryBase(StorageAccountManager storageAccountManager)
@Deprecated public void initialize(InputStream initXml, String instanceHost, String instancePort) throws StorageException
initXml
- A stream containing account information in XML formatStorageException
public void initialize(DuraStoreInitConfig initConfig, String instanceHost, String instancePort) throws StorageException
initXml
- A stream containing account information in XML formatStorageException
protected StorageAccountManager getAccountManager() throws StorageException
StorageException
- if not initializedprotected DuraStoreInitConfig getInitConfig() throws StorageException
StorageException
- if not initializedpublic boolean isInitialized()
Copyright © 2009–2014 DuraSpace. All rights reserved.