blob: 11db88392075161d2689177569a26da1b6fad254 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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
|