org.duracloud.durastore.util
Class ProviderFactoryBase

java.lang.Object
  extended by org.duracloud.durastore.util.ProviderFactoryBase
Direct Known Subclasses:
StorageProviderFactoryImpl, TaskProviderFactory

public class ProviderFactoryBase
extends Object


Constructor Summary
ProviderFactoryBase(StorageAccountManager storageAccountManager)
           
 
Method Summary
protected  StorageAccountManager getAccountManager()
          Gets the account manager
 void initialize(InputStream accountXml)
          Initializes DuraStore with account information necessary to connect to Storage Providers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderFactoryBase

public ProviderFactoryBase(StorageAccountManager storageAccountManager)
Method Detail

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


Copyright © 2009-2011 DuraSpace. All Rights Reserved.