diff options
Diffstat (limited to 'java/sca/modules/implementation-osgi-runtime/src/test/resources')
10 files changed, 33 insertions, 33 deletions
diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/add-component.xml b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/add-component.xml index f1ed05111a..a7d563023c 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/add-component.xml +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/add-component.xml @@ -18,8 +18,8 @@ * under the License. --> <scr:component name="AddComponent" xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0"> - <implementation class="calculator.operations.AddServiceImpl" /> + <implementation class="calculator.dosgi.operations.AddServiceImpl" /> <service> - <provide interface="calculator.operations.AddService" /> + <provide interface="calculator.dosgi.operations.AddService" /> </service> </scr:component> diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/calculator-component.xml b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/calculator-component.xml index 442ab858e9..3e537df732 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/calculator-component.xml +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/calculator-component.xml @@ -19,18 +19,18 @@ --> <scr:component name="CalculatorComponent" xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0"> - <implementation class="calculator.CalculatorServiceDSImpl" /> + <implementation class="calculator.dosgi.CalculatorServiceDSImpl" /> <service> - <provide interface="calculator.CalculatorService" /> + <provide interface="calculator.dosgi.CalculatorService" /> </service> - <reference name="addService" interface="calculator.operations.AddService" bind="setAddService" unbind="unsetAddService" + <reference name="addService" interface="calculator.dosgi.operations.AddService" bind="setAddService" unbind="unsetAddService" policy="dynamic" /> - <reference name="subtractService" interface="calculator.operations.SubtractService" bind="setSubtractService" + <reference name="subtractService" interface="calculator.dosgi.operations.SubtractService" bind="setSubtractService" unbind="unsetSubtractService" policy="dynamic" /> - <reference name="multiplyService" interface="calculator.operations.MultiplyService" bind="setMultiplyService" + <reference name="multiplyService" interface="calculator.dosgi.operations.MultiplyService" bind="setMultiplyService" unbind="unsetMultiplyService" policy="dynamic" /> - <reference name="divideService" interface="calculator.operations.DivideService" bind="setDivideService" + <reference name="divideService" interface="calculator.dosgi.operations.DivideService" bind="setDivideService" unbind="unsetDivideService" policy="dynamic" /> </scr:component> diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/divide-component.xml b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/divide-component.xml index 60a6cef4e1..def7fce23c 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/divide-component.xml +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/divide-component.xml @@ -18,8 +18,8 @@ * under the License. --> <scr:component name="DivideComponent" xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0"> - <implementation class="calculator.operations.DivideServiceImpl" /> + <implementation class="calculator.dosgi.operations.DivideServiceImpl" /> <service> - <provide interface="calculator.operations.DivideService" /> + <provide interface="calculator.dosgi.operations.DivideService" /> </service> </scr:component> diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/multiply-component.xml b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/multiply-component.xml index 2fd843b272..57f627f990 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/multiply-component.xml +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/multiply-component.xml @@ -18,8 +18,8 @@ * under the License. --> <scr:component name="MultiplyComponent" xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0"> - <implementation class="calculator.operations.MultiplyServiceImpl" /> + <implementation class="calculator.dosgi.operations.MultiplyServiceImpl" /> <service> - <provide interface="calculator.operations.MultiplyService" /> + <provide interface="calculator.dosgi.operations.MultiplyService" /> </service> </scr:component> diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/sca/bundle.componentType b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/sca/bundle.componentType index 73c7ca7c13..7860094626 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/sca/bundle.componentType +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/sca/bundle.componentType @@ -23,7 +23,7 @@ <!-- The service elment defines an SCA view of the OSGi service -->
<service name="Calculator">
<!-- The interface will be mapped into the OSGi service class -->
- <interface.java interface="calculator.CalculatorService"/>
+ <interface.java interface="calculator.dosgi.CalculatorService"/>
<!-- The list of OSGi properties -->
<t:osgi.property name="prop1">1</t:osgi.property>
<t:osgi.property name="prop2">ABC</t:osgi.property>
@@ -31,22 +31,22 @@ <!-- The reference elment defines an SCA proxy to a remote OSGi service -->
<reference name="addService">
- <interface.java interface="calculator.operations.AddService"/>
+ <interface.java interface="calculator.dosgi.operations.AddService"/>
<t:osgi.property name="prop1">1</t:osgi.property>
<t:osgi.property name="prop2">ABC</t:osgi.property>
</reference>
<reference name="subtractService">
- <interface.java interface="calculator.operations.SubtractService"/>
+ <interface.java interface="calculator.dosgi.operations.SubtractService"/>
<t:osgi.property name="prop1">1</t:osgi.property>
<t:osgi.property name="prop2">ABC</t:osgi.property>
</reference>
<reference name="multiplyService">
- <interface.java interface="calculator.operations.MultiplyService"/>
+ <interface.java interface="calculator.dosgi.operations.MultiplyService"/>
<t:osgi.property name="prop1">1</t:osgi.property>
<t:osgi.property name="prop2">ABC</t:osgi.property>
</reference>
<reference name="divideService">
- <interface.java interface="calculator.operations.DivideService"/>
+ <interface.java interface="calculator.dosgi.operations.DivideService"/>
<t:osgi.property name="prop1">1</t:osgi.property>
<t:osgi.property name="prop2">ABC</t:osgi.property>
</reference>
diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/subtract-component.xml b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/subtract-component.xml index ceb0a5d821..073ee5ea40 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/subtract-component.xml +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/OSGI-INF/subtract-component.xml @@ -18,8 +18,8 @@ * under the License. --> <scr:component name="SubtractComponent" xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0"> - <implementation class="calculator.operations.SubtractServiceImpl" /> + <implementation class="calculator.dosgi.operations.SubtractServiceImpl" /> <service> - <provide interface="calculator.operations.SubtractService" /> + <provide interface="calculator.dosgi.operations.SubtractService" /> </service> </scr:component> diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/META-INF/MANIFEST.MF b/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/dosgi/META-INF/MANIFEST.MF index 808cc60c79..f0f640541f 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/META-INF/MANIFEST.MF +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/dosgi/META-INF/MANIFEST.MF @@ -1,15 +1,15 @@ Manifest-Version: 1.0
-Export-Package: calculator;version="1.0.0"
+Export-Package: calculator.dosgi;version="1.0.0"
Bundle-Version: 1.0.0
-Bundle-Name: calculator
-Bundle-Activator: calculator.CalculatorActivator
+Bundle-Name: calculator.dosgi
+Bundle-Activator: calculator.dosgi.CalculatorActivator
Bundle-ManifestVersion: 2
-Import-Package: calculator.operations;version="1.0.0",
+Import-Package: calculator.dosgi.operations;version="1.0.0",
org.osgi.framework,
org.osgi.service.packageadmin,
org.osgi.util.tracker,
org.osgi.service.component;resolution:=optional
-Bundle-SymbolicName: calculator
+Bundle-SymbolicName: calculator.dosgi
Bundle-Vendor: The Apache Software Foundation
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/calculator.composite b/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/dosgi/calculator.composite index 9674e6d68f..44d53f6345 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/calculator.composite +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/dosgi/calculator.composite @@ -20,11 +20,11 @@ <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://calculator"
+ targetNamespace="http://calculator.dosgi"
name="CalculatorComposite">
<component name="CalculatorComponent">
- <tuscany:implementation.osgi bundleSymbolicName="calculator" bundleVersion="1.0.0" />
+ <tuscany:implementation.osgi bundleSymbolicName="calculator.dosgi" bundleVersion="1.0.0" />
<reference name="addService" target="OperationsComponent/AddService">
</reference>
<reference name="subtractService" target="OperationsComponent/SubtractService">
diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/operations/META-INF/MANIFEST.MF b/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/dosgi/operations/META-INF/MANIFEST.MF index 1414d227b0..2dbead0b88 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/operations/META-INF/MANIFEST.MF +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/dosgi/operations/META-INF/MANIFEST.MF @@ -1,13 +1,13 @@ Manifest-Version: 1.0
-Export-Package: calculator.operations;version="1.0.0"
+Export-Package: calculator.dosgi.operations;version="1.0.0"
Bundle-Version: 1.0.0
-Bundle-Name: calculator.operations
-Bundle-Activator: calculator.operations.OperationsActivator
+Bundle-Name: calculator.dosgi.operations
+Bundle-Activator: calculator.dosgi.operations.OperationsActivator
Bundle-ManifestVersion: 2
-Import-Package: calculator.operations;version="1.0.0",
+Import-Package: calculator.dosgi.operations;version="1.0.0",
org.osgi.framework,
org.osgi.service.component;resolution:=optional
-Bundle-SymbolicName: calculator.operations
+Bundle-SymbolicName: calculator.dosgi.operations
Bundle-Vendor: The Apache Software Foundation
Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true
diff --git a/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/operations/operations.composite b/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/dosgi/operations/operations.composite index 8afb7dc8a2..14c2b6a4e4 100644 --- a/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/operations/operations.composite +++ b/java/sca/modules/implementation-osgi-runtime/src/test/resources/calculator/dosgi/operations/operations.composite @@ -20,11 +20,11 @@ <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- targetNamespace="http://calculator"
+ targetNamespace="http://calculator.dosgi"
name="OperationsComposite">
<component name="OperationsComponent">
- <tuscany:implementation.osgi bundleSymbolicName="calculator.operations" bundleVersion="1.0.0" />
+ <tuscany:implementation.osgi bundleSymbolicName="calculator.dosgi.operations" bundleVersion="1.0.0" />
<service name="AddService">
</service>
<service name="SubtractService">
|