37 #include "BESXMLDefaultCommands.h"
39 #include "BESResponseNames.h"
40 #include "BESResponseHandlerList.h"
42 #include "BESXMLShowCommand.h"
43 #include "BESXMLShowErrorCommand.h"
44 #include "BESXMLSetContextCommand.h"
45 #include "BESXMLSetContainerCommand.h"
46 #include "BESXMLDefineCommand.h"
47 #include "BESXMLGetCommand.h"
48 #include "BESXMLDeleteContainerCommand.h"
49 #include "BESXMLDeleteContainersCommand.h"
50 #include "BESXMLDeleteDefinitionCommand.h"
51 #include "BESXMLDeleteDefinitionsCommand.h"
53 #include "ShowPathInfoCommand.h"
54 #include "ShowBesKeyCommand.h"
55 #include "ShowBesKeyResponseHandler.h"
57 #include "SetContextsNames.h"
58 #include "XMLSetContextsCommand.h"
60 #if USE_CONTEXTS_RESPONSE_HANDLER
61 #include "SetContextsResponseHandler.h"
63 #include "NullResponseHandler.h"
75 BESDEBUG(
"besxml",
"Initializing default commands:" << endl);
95 #if USE_CONTEXTS_RESPONSE_HANDLER
97 BESResponseHandlerList::TheList()->
add_handler(SET_CONTEXTS_ACTION, SetContextsResponseHandler::SetContextsResponseBuilder);
99 BESResponseHandlerList::TheList()->
add_handler(NULL_ACTION, NullResponseHandler::NullResponseBuilder);
114 BESDEBUG(
"besxml",
" adding " << SHOW_PATH_INFO_RESPONSE_STR <<
" command" << endl ) ;
119 BESDEBUG(
"besxml",
" adding " << SHOW_BES_KEY_RESPONSE <<
" response handler" << endl ) ;
120 BESResponseHandlerList::TheList()->
add_handler( SHOW_BES_KEY_RESPONSE, ShowBesKeyResponseHandler::ShowBesKeyResponseBuilder ) ;
122 BESDEBUG(
"besxml",
"Done Initializing default commands:" << endl);
132 BESDEBUG(
"besxml",
"Removing default commands:" << endl);
148 #if USE_CONTEXTS_RESPONSE_HANDLER
149 BESResponseHandlerList::TheList()->
remove_handler(SET_CONTEXTS_ACTION);
159 BESDEBUG(
"besxml",
"Done Removing default commands:" << endl);