39 #include <BESRequestHandlerList.h>
40 #include <BESResponseHandlerList.h>
41 #include <BESResponseNames.h>
43 #include <BESContainerStorageList.h>
44 #include <BESFileContainerStorage.h>
45 #include <BESCatalogDirectory.h>
46 #include <BESCatalogList.h>
47 #include <BESDapService.h>
54 #include "CmrModule.h"
55 #include "CmrCatalog.h"
56 #include "CmrContainerStorage.h"
58 #define prolog std::string("CmrModule::").append(__func__).append("() - ")
60 void CmrModule::initialize(
const string &modname)
63 BESDEBUG(MODULE, prolog <<
"Initializing CMR Module: " << modname << endl);
68 if (!BESContainerStorageList::TheList()->ref_persistence(CMR_CATALOG_NAME)) {
76 BESDEBUG(MODULE,
"Done Initializing CMR Handler: " << modname << endl);
79 void CmrModule::terminate(
const string &modname)
81 BESDEBUG(MODULE, prolog <<
"Cleaning CMR Module: " << modname << endl);
90 BESDEBUG(MODULE, prolog <<
"Done Cleaning CMR Module: " << modname << endl);
102 strm << BESIndent::LMarg << prolog <<
"(" << (
void *)
this <<
")" << endl;