THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Composite1
Code Block |
---|
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
targetNamespace="http://sample"
xmlns:sample="http://sample"
name="Composite1">
<component name="ComponentA">
<implementation.java class="sample.ComponentAImpl"/>
</component>
<component name="ComponentB">
<!-- Implemented by Composite3 -->
<implementation.composite name="sample:Composite3"/>
<!-- Wired to ComponentA -->
<reference name="Reference1" target="ComponentA"/>
<property name="Property1">ABC</property>
</component>
<!-- ComponentB.Service1 is promoted -->
<service name="Service1" promote="ComponentB/Service1" />
</composite>
|