summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest/lifecycle/src/main/resources
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-06-06 10:26:44 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2011-06-06 10:26:44 +0000
commit835a2194bfbd177374e79fa43825d01eb537822f (patch)
tree26348bce4637f75a30102c3f588b5388c58cd4ef /sca-java-2.x/trunk/testing/itest/lifecycle/src/main/resources
parent1305be42ad1ae54e4aff090467432bb5f30f450e (diff)
TUSCANY-3867 - Take account of different scopes and eager init
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1132579 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/lifecycle/src/main/resources')
-rw-r--r--sca-java-2.x/trunk/testing/itest/lifecycle/src/main/resources/lifecycle.composite21
1 files changed, 16 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/lifecycle/src/main/resources/lifecycle.composite b/sca-java-2.x/trunk/testing/itest/lifecycle/src/main/resources/lifecycle.composite
index c959749c03..f08f6fe57b 100644
--- a/sca-java-2.x/trunk/testing/itest/lifecycle/src/main/resources/lifecycle.composite
+++ b/sca-java-2.x/trunk/testing/itest/lifecycle/src/main/resources/lifecycle.composite
@@ -22,23 +22,34 @@
targetNamespace="http://sample"
name="lifecycle">
- <component name="HelloworldService1">
+ <component name="HelloworldService">
<implementation.java class="helloworld.HelloworldServiceImpl"/>
<service name="Helloworld">
<tuscany:binding.lifecycle name="lifecycle"/>
</service>
</component>
+
- <component name="HelloworldService2">
+ <component name="HelloworldServiceTestImpl">
<tuscany:implementation.lifecycle class="helloworld.HelloworldServiceImpl"/>
<service name="Helloworld">
<tuscany:binding.lifecycle name="lifecycle"/>
</service>
</component>
- <component name="HelloworldClient">
- <implementation.java class="helloworld.HelloworldClientImpl"/>
- <reference name="service" target="HelloworldService1"/>
+ <component name="HelloworldClientC">
+ <implementation.java class="helloworld.HelloworldClientImplC"/>
+ <reference name="service" target="HelloworldService"/>
+ </component>
+
+ <component name="HelloworldClientCE">
+ <implementation.java class="helloworld.HelloworldClientImplCE"/>
+ <reference name="service" target="HelloworldService"/>
</component>
+
+ <component name="HelloworldClientS">
+ <implementation.java class="helloworld.HelloworldClientImplS"/>
+ <reference name="service" target="HelloworldService"/>
+ </component>
</composite>