diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-11-08 14:21:33 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-11-08 14:21:33 +0000 |
commit | 927385eb97546c0870bc74fffdd40c76063702fb (patch) | |
tree | 68b1a3f9545ca4be6399d8226559ece9f441da7c | |
parent | a127383e5648c995f3e54181b618d3db063526df (diff) | |
download | ATCD-927385eb97546c0870bc74fffdd40c76063702fb.tar.gz |
15 files changed, 312 insertions, 0 deletions
diff --git a/CIAO/examples/Null_Component/descriptors/Deployment.xsd b/CIAO/examples/Null_Component/descriptors/Deployment.xsd new file mode 100644 index 00000000000..fd4ffe5bc7d --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Deployment.xsd @@ -0,0 +1,29 @@ +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.w3.org/2001/XMLSchema XMLSchema.xsd" + xmlns:Deployment="http://www.omg.org/Deployment" + targetNamespace="http://www.omg.org/Deployment"> + + <xsd:include schemaLocation="Basic_Deployment_Data.xsd"/> + <xsd:include schemaLocation="cpd.xsd"/> + <xsd:include schemaLocation="ccd.xsd"/> + <xsd:include schemaLocation="cdd.xsd"/> + <xsd:include schemaLocation="cdp.xsd"/> + <xsd:include schemaLocation="cid.xsd"/> + <xsd:include schemaLocation="iad.xsd"/> + <xsd:include schemaLocation="pcd.xsd"/> + <xsd:include schemaLocation="toplevel.xsd"/> + + +<!-- Top-level elements. --> + + <xsd:element name="domain" type="Deployment:Domain"/> + <xsd:element name="deploymentPlan" type="Deployment:DeploymentPlan"/> + <xsd:element name="implementationArtifactDescription" type="Deployment:ImplementationArtifactDescription" /> + <xsd:element name="componentInterfaceDescription" type="Deployment:ComponentInterfaceDescription"/> + <xsd:element name="componentImplementationDescription" type="Deployment:ComponentImplementationDescription"/> + <xsd:element name="componentPackageDescription" type="Deployment:ComponentPackageDescription"/> + <xsd:element name="packageConfiguration" type="Deployment:PackageConfiguration"/> + <xsd:element name="topLevelPackageDescription" type="Deployment:TopLevelPackageDescription"/> + +</xsd:schema> diff --git a/CIAO/examples/Null_Component/descriptors/Domain.cdd b/CIAO/examples/Null_Component/descriptors/Domain.cdd new file mode 100644 index 00000000000..a7fd42463fe --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Domain.cdd @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:Domain 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"> + + <UUID>_Null_Component_Targets_Domain</UUID> + + <node> + <name>NodeA</name> + </node> + +</Deployment:Domain> diff --git a/CIAO/examples/Null_Component/descriptors/NodeMap.dat b/CIAO/examples/Null_Component/descriptors/NodeMap.dat new file mode 100644 index 00000000000..556433b464e --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/NodeMap.dat @@ -0,0 +1,3 @@ +NodeA corbaloc:iiop:localhost:10000/NodeManager + + diff --git a/CIAO/examples/Null_Component/descriptors/Null_Assembly.cid b/CIAO/examples/Null_Component/descriptors/Null_Assembly.cid new file mode 100644 index 00000000000..6d19c2a050c --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Null_Assembly.cid @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:ComponentImplementationDescription 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"> + + <UUID>_84CDF595-E42C-43D5-B3FD-C6C6524E068C</UUID> + + <assemblyImpl> + <instance xmi:id="_B4BF176E-0386-49EE-B84F-3F2781F3C7BE"> + <name>Null_Component.ComponentImplementations.Null_Assembly_Container.Null_Assembly.Null_Component</name> + <package href="Null_Component_Package.cpd"/> + </instance> + </assemblyImpl> + +</Deployment:ComponentImplementationDescription> diff --git a/CIAO/examples/Null_Component/descriptors/Null_Assembly_Package.cpd b/CIAO/examples/Null_Component/descriptors/Null_Assembly_Package.cpd new file mode 100644 index 00000000000..0e4b281531a --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Null_Assembly_Package.cpd @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:ComponentPackageDescription 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"> + + <UUID>_AAC92636-57DD-4503-A616-CF75AD417E99</UUID> + + <implementation> + <name>Null_Assembly</name> + <referencedImplementation href="Null_Assembly.cid"/> + </implementation> + +</Deployment:ComponentPackageDescription> diff --git a/CIAO/examples/Null_Component/descriptors/Null_Component.ccd b/CIAO/examples/Null_Component/descriptors/Null_Component.ccd new file mode 100644 index 00000000000..1553f012e70 --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Null_Component.ccd @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:ComponentInterfaceDescription 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"> + + <UUID>_FF1F1E30-2916-4A65-96C3-EF29124400A5</UUID> + + <port> + <name>null_facet</name> + <exclusiveProvider>false</exclusiveProvider> + <exclusiveUser>false</exclusiveUser> + <optional>false</optional> + <provider>true</provider> + <kind>Facet</kind> + </port> + +</Deployment:ComponentInterfaceDescription> diff --git a/CIAO/examples/Null_Component/descriptors/Null_ComponentMonolithicImpl.cid b/CIAO/examples/Null_Component/descriptors/Null_ComponentMonolithicImpl.cid new file mode 100644 index 00000000000..93393fca1c7 --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Null_ComponentMonolithicImpl.cid @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:ComponentImplementationDescription 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"> + + <UUID>_7B0A12C6-0490-4449-A8B3-9BF3CCDF58FA</UUID> + + <implements href="Null_Component.ccd"/> + + <monolithicImpl> + <primaryArtifact> + <name>Null_Component_stub</name> + <referencedArtifact href="Null_Component_stub.iad"/> + </primaryArtifact> + <primaryArtifact> + <name>Null_Component_svnt</name> + <referencedArtifact href="Null_Component_svnt.iad"/> + </primaryArtifact> + <primaryArtifact> + <name>Null_Component_exec</name> + <referencedArtifact href="Null_Component_exec.iad"/> + </primaryArtifact> + </monolithicImpl> + + <configProperty> + <name>ComponentIOR</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>Null_Component.ior</string> + </value> + </value> + </configProperty> + +</Deployment:ComponentImplementationDescription> diff --git a/CIAO/examples/Null_Component/descriptors/Null_Component_Package.cpd b/CIAO/examples/Null_Component/descriptors/Null_Component_Package.cpd new file mode 100644 index 00000000000..d9f06a4367f --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Null_Component_Package.cpd @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:ComponentPackageDescription 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"> + + <UUID>_ABA51225-4A40-4B07-B4EB-467AEEA5BFEE</UUID> + + <realizes href="Null_Component.ccd"/> + + <implementation> + <name>Null_ComponentMonolithicImpl</name> + <referencedImplementation href="Null_ComponentMonolithicImpl.cid"/> + </implementation> + +</Deployment:ComponentPackageDescription> diff --git a/CIAO/examples/Null_Component/descriptors/Null_Component_exec.iad b/CIAO/examples/Null_Component/descriptors/Null_Component_exec.iad new file mode 100644 index 00000000000..9a456b15b60 --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Null_Component_exec.iad @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:ImplementationArtifactDescription 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"> + + <UUID>_6BECFE2C-84AB-4B4A-B14C-DB8048563368</UUID> + + <location>Null_Component_exec</location> + + <dependsOn> + <name>Null_Component_svnt</name> + <referencedArtifact href="Null_Component_svnt.iad"/> + </dependsOn> + + <dependsOn> + <name>Null_Component_stub</name> + <referencedArtifact href="Null_Component_stub.iad"/> + </dependsOn> + + <execParameter> + <name>entryPoint</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>create_Null_Component_Home_Impl</string> + </value> + </value> + </execParameter> + +</Deployment:ImplementationArtifactDescription> diff --git a/CIAO/examples/Null_Component/descriptors/Null_Component_stub.iad b/CIAO/examples/Null_Component/descriptors/Null_Component_stub.iad new file mode 100644 index 00000000000..d74f84940fb --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Null_Component_stub.iad @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:ImplementationArtifactDescription 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"> + + <UUID>_5249354B-25F0-459E-BC02-5EED8A0122A7</UUID> + + <location>Null_Component_stub</location> + +</Deployment:ImplementationArtifactDescription> diff --git a/CIAO/examples/Null_Component/descriptors/Null_Component_svnt.iad b/CIAO/examples/Null_Component/descriptors/Null_Component_svnt.iad new file mode 100644 index 00000000000..c6283a3a52c --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Null_Component_svnt.iad @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:ImplementationArtifactDescription 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"> + + <UUID>_EBFD46AF-1AF1-4646-891C-5FDE9657AD83</UUID> + + <location>Null_Component_svnt</location> + + <dependsOn> + <name>Null_Component_stub</name> + <referencedArtifact href="Null_Component_stub.iad"/> + </dependsOn> + + <execParameter> + <name>entryPoint</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>create_Null_Component_Home_Servant</string> + </value> + </value> + </execParameter> + +</Deployment:ImplementationArtifactDescription> diff --git a/CIAO/examples/Null_Component/descriptors/PackageConfiguration.pcd b/CIAO/examples/Null_Component/descriptors/PackageConfiguration.pcd new file mode 100644 index 00000000000..0b09dd0c51e --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/PackageConfiguration.pcd @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:PackageConfiguration 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"> + + <basePackage href="Null_Assembly_Package.cpd"/> + +</Deployment:PackageConfiguration> diff --git a/CIAO/examples/Null_Component/descriptors/Plan.cdp b/CIAO/examples/Null_Component/descriptors/Plan.cdp new file mode 100644 index 00000000000..903fd30bc44 --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/Plan.cdp @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<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"> + + <implementation id="Null_Component_ComponentImplementations_Null_ComponentImplementation_Null_ComponentMonolithicImpl"> + <name>Null_Component_ComponentImplementations_Null_ComponentImplementation_Null_ComponentMonolithicImpl</name> + <source/> + <artifact>Null_Component_ImplementationArtifacts_Null_ComponentArtifacts_Null_Component_stub</artifact> + <artifact>Null_Component_ImplementationArtifacts_Null_ComponentArtifacts_Null_Component_svnt</artifact> + <artifact>Null_Component_ImplementationArtifacts_Null_ComponentArtifacts_Null_Component_exec</artifact> + </implementation> + + <instance id="Null_Component_ComponentImplementations_Null_Assembly_Container_Null_Assembly_Null_Component"> + <name>Null_Component_ComponentImplementations_Null_Assembly_Container_Null_Assembly_Null_Component</name> + <node>NodeA</node> + <source/> + <implementation>Null_Component_ComponentImplementations_Null_ComponentImplementation_Null_ComponentMonolithicImpl</implementation> + <configProperty> + <name>ComponentIOR</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>Null_Component.ior</string> + </value> + </value> + </configProperty> + </instance> + + <artifact id="Null_Component_ImplementationArtifacts_Null_ComponentArtifacts_Null_Component_stub"> + <name>Null_Component_ImplementationArtifacts_Null_ComponentArtifacts_Null_Component_stub</name> + <source/> + <node/> + <location>Null_Component_stub</location> + </artifact> + + <artifact id="Null_Component_ImplementationArtifacts_Null_ComponentArtifacts_Null_Component_svnt"> + <name>Null_Component_ImplementationArtifacts_Null_ComponentArtifacts_Null_Component_svnt</name> + <source/> + <node/> + <location>Null_Component_svnt</location> + <execParameter> + <name>entryPoint</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>create_Null_Component_Home_Servant</string> + </value> + </value> + </execParameter> + </artifact> + + <artifact id="Null_Component_ImplementationArtifacts_Null_ComponentArtifacts_Null_Component_exec"> + <name>Null_Component_ImplementationArtifacts_Null_ComponentArtifacts_Null_Component_exec</name> + <source/> + <node/> + <location>Null_Component_exec</location> + <execParameter> + <name>entryPoint</name> + <value> + <type> + <kind>tk_string</kind> + </type> + <value> + <string>create_Null_Component_Home_Impl</string> + </value> + </value> + </execParameter> + </artifact> + +</Deployment:deploymentPlan> diff --git a/CIAO/examples/Null_Component/descriptors/XMI.xsd b/CIAO/examples/Null_Component/descriptors/XMI.xsd new file mode 100644 index 00000000000..f4adac91934 --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/XMI.xsd @@ -0,0 +1,35 @@ +<?xml version="1.0" ?> +<xsd:schema targetNamespace="http://www.omg.org/XMI" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation='http://www.w3.org/2001/XMLSchema XMLSchema.xsd'> + <xsd:attribute name="id" type="xsd:ID" /> + <xsd:attributeGroup name="IdentityAttribs"> + <xsd:attribute form="qualified" name="label" type="xsd:string" use="optional" /> + <xsd:attribute form="qualified" name="uuid" type="xsd:string" use="optional" /> + </xsd:attributeGroup> + <xsd:attributeGroup name="LinkAttribs"> + <xsd:attribute name="href" type="xsd:string" use="optional" /> + <xsd:attribute form="qualified" name="idref" type="xsd:IDREF" use="optional" /> + </xsd:attributeGroup> + <xsd:attributeGroup name="ObjectAttribs"> + <xsd:attributeGroup ref="xmi:IdentityAttribs" /> + <xsd:attributeGroup ref="xmi:LinkAttribs" /> + <xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="optional" /> + <xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional" /> + </xsd:attributeGroup> + <xsd:complexType name="Extension"> + <xsd:choice maxOccurs="unbounded" minOccurs="0"> + <xsd:any processContents="lax" /> + </xsd:choice> + <xsd:attribute ref="xmi:id" /> + <xsd:attributeGroup ref="xmi:ObjectAttribs" /> + <xsd:attribute name="extender" type="xsd:string" use="optional" /> + <xsd:attribute name="extenderID" type="xsd:string" use="optional" /> + </xsd:complexType> + <xsd:element name="Extension" type="xmi:Extension" /> + <xsd:complexType name="Any"> + <xsd:choice maxOccurs="unbounded" minOccurs="0"> + <xsd:any processContents="skip" /> + </xsd:choice> + <xsd:anyAttribute processContents="skip" /> + </xsd:complexType> +</xsd:schema> diff --git a/CIAO/examples/Null_Component/descriptors/package.tpd b/CIAO/examples/Null_Component/descriptors/package.tpd new file mode 100644 index 00000000000..b57255f3618 --- /dev/null +++ b/CIAO/examples/Null_Component/descriptors/package.tpd @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no" ?> +<Deployment:TopLevelPackageDescription 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"> + + <package href="PackageConfiguration.pcd"/> + +</Deployment:TopLevelPackageDescription> |