#include <DummyPool.h>
Inherits dmlite::PoolManager.
Public Member Functions | |
DummyPoolManager (PoolManager *decorated) throw (DmException) | |
virtual | ~DummyPoolManager () |
virtual void | setStackInstance (StackInstance *) throw (DmException) |
virtual void | setSecurityContext (const SecurityContext *) throw (DmException) |
Set the security context. | |
virtual std::vector< Pool > | getPools (PoolAvailability availability) throw (DmException) |
virtual Pool | getPool (const std::string &poolname) throw (DmException) |
Get a specific pool. | |
virtual Location | whereToRead (const std::string &path) throw (DmException) |
virtual Location | whereToWrite (const std::string &path) throw (DmException) |
Protected Attributes | |
PoolManager * | decorated_ |
DummyPoolManager::DummyPoolManager | ( | PoolManager * | decorated | ) | throw (DmException) |
DummyPoolManager::~DummyPoolManager | ( | ) | [virtual] |
Pool DummyPoolManager::getPool | ( | const std::string & | poolname | ) | throw (DmException) [virtual] |
Get a specific pool.
Implements dmlite::PoolManager.
std::vector< Pool > DummyPoolManager::getPools | ( | PoolAvailability | availability | ) | throw (DmException) [virtual] |
Get the list of pools.
availability | Filter by availability. |
Implements dmlite::PoolManager.
void DummyPoolManager::setSecurityContext | ( | const SecurityContext * | ctx | ) | throw (DmException) [virtual] |
Set the security context.
Implements dmlite::BaseInterface.
void DummyPoolManager::setStackInstance | ( | StackInstance * | si | ) | throw (DmException) [virtual] |
Set the StackInstance. Some plugins may need to access other stacks (i.e. the pool may need the catalog) However, at construction time not all the stacks have been populated, so this will be called once all are instantiated.
Implements dmlite::BaseInterface.
Location DummyPoolManager::whereToRead | ( | const std::string & | path | ) | throw (DmException) [virtual] |
Get a location for a logical name.
path | The path to get. |
Implements dmlite::PoolManager.
Location DummyPoolManager::whereToWrite | ( | const std::string & | path | ) | throw (DmException) [virtual] |
Start the PUT of a file.
path | The path of the file to create. |
Implements dmlite::PoolManager.
PoolManager* dmlite::DummyPoolManager::decorated_ [protected] |