summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Config_Handlers/CompPkgDesc_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/DAnCE/Config_Handlers/CompPkgDesc_Handler.cpp')
-rw-r--r--TAO/CIAO/DAnCE/Config_Handlers/CompPkgDesc_Handler.cpp75
1 files changed, 0 insertions, 75 deletions
diff --git a/TAO/CIAO/DAnCE/Config_Handlers/CompPkgDesc_Handler.cpp b/TAO/CIAO/DAnCE/Config_Handlers/CompPkgDesc_Handler.cpp
deleted file mode 100644
index c60201535cb..00000000000
--- a/TAO/CIAO/DAnCE/Config_Handlers/CompPkgDesc_Handler.cpp
+++ /dev/null
@@ -1,75 +0,0 @@
-// $Id$
-
-#ifndef COMPPKGDESC_HANDLER_C
-#define COMPPKGDESC_HANDLER_C
-
-#include "tao/Exception.h"
-#include "ace/Auto_Ptr.h"
-#include "ace/Log_Msg.h"
-#include "Utils.h"
-#include "CompPkgDesc_Handler.h"
-#include "Property_Handler.h"
-#include "PCI_Handler.h"
-#include "CompIntrDesc_Handler.h"
-#include "Process_Element.h"
-#include <iostream>
-
-BEGIN_DEPLOYMENT_NAMESPACE
-
-/// handle the package configuration and populate it
-void CompPkgDesc_Handler::process_ComponentPackageDescription
-(::Deployment::ComponentPackageDescription &comppkgdesc)
-{
- for (DOMNode* node = this->iter_->nextNode();
- node != 0;
- node = this->iter_->nextNode())
- {
- XStr node_name (node->getNodeName());
-
- if (node_name == XStr
- (ACE_TEXT ("Deployment:ComponentPackageDescription")))
- {
- }
- else if
- (CIAO::Config_Handler::Utils::process_string
- (this->iter_, node_name, "label", comppkgdesc.label));
- else if
- (CIAO::Config_Handler::Utils::process_string
- (this->iter_, node_name, "UUID", comppkgdesc.UUID));
- else if
- (process_element_remote<Deployment::ComponentInterfaceDescription,
- CompIntrDesc_Handler>
- (this->doc_, this->iter_, node,
- node_name, "realizes", comppkgdesc.realizes,
- &CompIntrDesc_Handler::process_ComponentInterfaceDescription,
- this->id_map_));
- else if
- (process_sequence_common<Deployment::Property>
- (this->doc_, this->iter_, node,
- node_name, "configProperty", comppkgdesc.configProperty,
- &Property_Handler::process_Property,
- this->id_map_));
- else if
- (process_sequence_remote<Deployment::PackagedComponentImplementation,
- PCI_Handler>
- (this->doc_, this->iter_, node,
- node_name, "implementation", comppkgdesc.implementation,
- &PCI_Handler::process_PackagedComponentImplementation,
- this->id_map_));
- else if
- (process_sequence_common<Deployment::Property>
- (this->doc_, this->iter_, node,
- node_name, "infoProperty", comppkgdesc.infoProperty,
- &Property_Handler::process_Property,
- this->id_map_));
- else
- {
- this->iter_->previousNode ();
- return;
- }
- }
-}
-
-END_DEPLOYMENT_NAMESPACE
-
-#endif /* COMPPKGDESC_HANDLER_C */