41 #include <BESRequestHandlerList.h>
42 #include <BESResponseHandlerList.h>
43 #include <BESResponseNames.h>
45 #include <BESContainerStorageList.h>
46 #include <BESFileContainerStorage.h>
47 #include <BESCatalogDirectory.h>
48 #include <BESCatalogList.h>
49 #include <BESDapService.h>
56 #include "CmrModule.h"
57 #include "CmrCatalog.h"
58 #include "CmrContainerStorage.h"
60 #define prolog std::string("CmrModule::").append(__func__).append("() - ")
62 void CmrModule::initialize(
const string &modname)
65 BESDEBUG(MODULE, prolog <<
"Initializing CMR Module: " << modname << endl);
70 if (!BESContainerStorageList::TheList()->ref_persistence(CMR_CATALOG_NAME)) {
78 BESDEBUG(MODULE,
"Done Initializing CMR Handler: " << modname << endl);
81 void CmrModule::terminate(
const string &modname)
83 BESDEBUG(MODULE, prolog <<
"Cleaning CMR Module: " << modname << endl);
92 BESDEBUG(MODULE, prolog <<
"Done Cleaning CMR Module: " << modname << endl);
104 strm << BESIndent::LMarg << prolog <<
"(" << (
void *)
this <<
")" << endl;