summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/Old_Config_Handlers/NIA_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/DAnCE/Old_Config_Handlers/NIA_Handler.cpp')
-rw-r--r--TAO/CIAO/DAnCE/Old_Config_Handlers/NIA_Handler.cpp44
1 files changed, 44 insertions, 0 deletions
diff --git a/TAO/CIAO/DAnCE/Old_Config_Handlers/NIA_Handler.cpp b/TAO/CIAO/DAnCE/Old_Config_Handlers/NIA_Handler.cpp
new file mode 100644
index 00000000000..11db8839207
--- /dev/null
+++ b/TAO/CIAO/DAnCE/Old_Config_Handlers/NIA_Handler.cpp
@@ -0,0 +1,44 @@
+//$Id$
+
+#include "tao/Exception.h"
+#include "ace/Auto_Ptr.h"
+#include "ace/Log_Msg.h"
+#include "IAD_Handler.h"
+#include "NIA_Handler.h"
+#include "Utils.h"
+#include "Process_Element.h"
+
+BEGIN_DEPLOYMENT_NAMESPACE
+
+/// handle the package configuration and populate it
+void NIA_Handler::process_NamedImplementationArtifact
+(::Deployment::NamedImplementationArtifact &nia)
+{
+ for (DOMNode* node = this->iter_->nextNode();
+ node != 0;
+ node = this->iter_->nextNode())
+ {
+ XStr node_name (node->getNodeName());
+ if (node_name == XStr
+ (ACE_TEXT ("Deployment:NamedImplementationArtifact")))
+ {
+ }
+ else if
+ (CIAO::Config_Handler::Utils::process_string
+ (this->iter_, node_name, "name", nia.name));
+ else if
+ (process_element_remote<Deployment::ImplementationArtifactDescription,
+ IAD_Handler>
+ (this->doc_, this->iter_, node,
+ node_name, "referencedArtifact", nia.referencedArtifact,
+ &IAD_Handler::process_ImplementationArtifactDescription,
+ this->id_map_));
+ else
+ {
+ this->iter_->previousNode ();
+ return;
+ }
+ }
+}
+
+END_DEPLOYMENT_NAMESPACE