summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/SimpleComponentExplicitHome.cdp
blob: 5632d219c48c58f60d2774ec03099175271a5a5e (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<Deployment:DeploymentPlan
  xmlns:Deployment="http://www.omg.org/Deployment"
  xmlns:xmi="http://www.omg.org/XMI"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
  <label>SimpleComponent_Home</label>
  <UUID>SimpleComponent_Home</UUID>

  <!-- Implementations declarations -->

  <!-- Server Dance implementation-->
  <!-- Home implementation -->
  <implementation xmi:id="SimpleNullHomeImplementation">
    <name>SimpleNullHomeImplementation</name>
    <source/>
    <artifact xmi:idref="SimpleNull_ExecArtifact" />
    <artifact xmi:idref="SimpleNull_SvntArtifact" />
    <execParameter>
      <!-- entrypoint as exec parameter (see ยง10.6.1) -->
      <name>home factory</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_Simple_SimpleNullHome_Impl</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>create_Simple_SimpleNullHome_Servant</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>SimpleNull_svnt</string>
        </value>
      </value>
    </execParameter>
    <execParameter>
      <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>SimpleNull_exec</string>
        </value>
      </value>
    </execParameter>
  </implementation>

  <implementation xmi:id="SimpleNullComponentImplementation">
    <name>SimpleNullComponentImplementation</name>
    <source/>
    <artifact xmi:idref="SimpleNull_ExecArtifact" />
    <artifact xmi:idref="SimpleNull_SvntArtifact" />
  </implementation>

  <instance xmi:id="SimpleNullHomeInstance">
    <name>SimpleNullHome</name>
    <node>Node</node>
    <!-- hostname -->
    <source/>
    <implementation xmi:idref="SimpleNullHomeImplementation" />
  </instance>

  <instance xmi:id="SimpleNullComponentInstance">
    <name>SimpleNullComponent</name>
    <node>Node</node>
    <!-- hostname -->
    <source/>
    <implementation xmi:idref="SimpleNullComponentImplementation" />
    <configProperty>
      <name>edu.vanderbilt.dre.DAnCE.ExplicitHome</name>
      <value>
        <type>
          <kind>tk_string</kind>
        </type>
        <value>
          <string>SimpleNullHome</string>
        </value>
      </value>
    </configProperty>
  </instance>

  <!-- Artifacts declarations -->
  <artifact xmi:id="SimpleNull_ExecArtifact">
    <name>SimpleNull_exec</name>
    <source/>
    <node/>
    <location>SimpleNull_exec</location>
  </artifact>
  <artifact xmi:id="SimpleNull_SvntArtifact">
    <name>SimpleNull_svnt</name>
    <source/>
    <node/>
    <location>SimpleNull_svnt</location>
  </artifact>

  </Deployment:DeploymentPlan>