20 #define DAP_CATALOG "catalog"
25 BESDEBUG( modname,
"Initializing Dap Module "
26 << modname << endl ) ;
28 BESDEBUG( modname,
" adding dap request handler" << endl ) ;
39 BESDEBUG(
"nc",
" catalog already exists, skipping" << endl ) ;
52 BESDEBUG(
"nc",
" storage already exists, skipping" << endl ) ;
55 BESDEBUG( modname,
" adding Dap debug context" << endl ) ;
58 BESDEBUG( modname,
"Done Initializing Dap Module "
59 << modname << endl ) ;
65 BESDEBUG( modname,
"Cleaning Dap module " << modname << endl ) ;
69 BESDEBUG( modname,
" removing dap request handler" << endl ) ;
71 if( rh )
delete rh ; rh = 0 ;
73 BESDEBUG(
"nc",
" removing catalog container storage"
80 BESDEBUG( modname,
"Done Cleaning Dap module "
81 << modname << endl ) ;
96 << (
void *)
this <<
")" << endl ;
virtual bool add_handler(const string &handler_name, BESRequestHandler *handler)
add a request handler to the list of registered handlers for this server
virtual bool add_persistence(BESContainerStorage *p)
Add a persistent store to the list.
virtual void dump(ostream &strm) const
dump the contents of this object to the specified ostream
implementation of BESContainerStorage that represents a data within a catalog repository ...
virtual void terminate(const string &modname)
virtual bool deref_catalog(const string &catalog_name)
de-reference the specified catalog and remove from list if no longer referenced
builds catalogs from a directory structure
static ostream & LMarg(ostream &strm)
virtual bool deref_persistence(const string &persist_name)
dereference a persistent store in the list.
Represents a specific data type request handler.
static BESRequestHandlerList * TheList()
static BESContainerStorageList * TheList()
BESAbstractModule * maker()
#define BESDEBUG(x, y)
macro used to send debug information to the debug stream
virtual void initialize(const string &modname)
static BESCatalogList * TheCatalogList()
returns the singleton BESCatalogList instance
static void Register(const string &flagName)
register the specified debug flag
virtual BESRequestHandler * remove_handler(const string &handler_name)
remove and return the specified request handler