ArchFm: org.ow2.frascati.component.factory.ComponentFactory.composite

File org.ow2.frascati.component.factory.ComponentFactory.composite, 4.2 KB (added by acher, 7 years ago)

Component Factory composite

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<composite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:cf="org/ow2/frascati/component/factory" xmlns:juliac="org/ow2/frascati/component/factory/juliac" name="org.ow2.frascati.component.factory.ComponentFactory">
3  <component name="tinfi-oo">
4    <implementation.java class="org.ow2.frascati.component.factory.impl.MembraneProviderImpl"/>
5    <property name="membrane-description">OW2 FraSCAti Tinfi Object-Oriented Membranes</property>
6    <property name="membrane-names">scaPrimitive:scaComposite:scaContainer</property>
7    <property name="membrane-class">org.objectweb.fractal.juliac.runtime.Juliac</property>
8    <service name="fractal-bootstrap-class-provider">
9      <interface xsi:type="interface.java" interface="org.ow2.frascati.component.factory.api.MembraneProvider"/>
10    </service>
11  </component>
12  <component name="factory">
13    <implementation.java class="org.ow2.frascati.component.factory.impl.ComponentFactoryImpl"/>
14    <property name="sca-primitive-membrane">scaPrimitive</property>
15    <property name="sca-composite-membrane">scaComposite</property>
16    <service name="component-factory">
17      <interface.java interface="org.ow2.frascati.component.factory.api.ComponentFactory"/>
18    </service>
19    <service name="type-factory">
20      <interface.java interface="org.ow2.frascati.component.factory.api.TypeFactory"/>
21    </service>
22    <service name="membrane-generation">
23      <interface.java interface="org.ow2.frascati.component.factory.api.MembraneGeneration"/>
24    </service>
25    <reference multiplicity="0..n" name="fractal-bootstrap-class-providers" autowire="true">
26      <interface.java interface="org.ow2.frascati.component.factory.api.MembraneProvider"/>
27    </reference>
28    <reference multiplicity="0..1" name="delegate-membrane-generation">
29      <interface.java interface="org.ow2.frascati.component.factory.api.MembraneGeneration"/>
30    </reference>
31  </component>
32  <service name="component-factory" promote="factory/component-factory">
33    <interface.java interface="org.ow2.frascati.component.factory.api.ComponentFactory"/>
34  </service>
35  <service name="type-factory" promote="factory/type-factory">
36    <interface.java interface="org.ow2.frascati.component.factory.api.TypeFactory"/>
37  </service>
38  <service name="membrane-generation" promote="factory/membrane-generation">
39    <interface.java interface="org.ow2.frascati.component.factory.api.MembraneGeneration"/>
40  </service>
41  <component name="juliac">
42    <implementation.composite name="juliac:Juliac.composite"/>
43    <service name="membrane-generation">
44      <interface.java interface="org.ow2.frascati.component.factory.api.MembraneGeneration"/>
45    </service>
46  </component>
47  <wire source="factory/delegate-membrane-generation" target="juliac/membrane-generation"/>
48  <component name="julia">
49    <implementation.java class="org.ow2.frascati.component.factory.impl.MembraneProviderImpl"/>
50    <property name="membrane-description">OW2 Fractal Julia Membranes</property>
51    <property name="membrane-names">primitive:composite</property>
52    <property name="membrane-class">org.objectweb.fractal.julia.Julia</property>
53    <service name="fractal-bootstrap-class-provider">
54      <interface xsi:type="interface.java" interface="org.ow2.frascati.component.factory.api.MembraneProvider"/>
55    </service>
56  </component>
57  <component name="osgi-provider">
58    <implementation.java class="org.ow2.frascati.component.factory.impl.MembraneProviderImpl"/>
59    <property name="membrane-description">OW2 FraSCAti Tinfi OSGi Membranes</property>
60    <property name="membrane-names">osgiPrimitive</property>
61    <property name="membrane-class">org.objectweb.fractal.juliac.osgi.JuliacOSGi</property>
62    <service name="fractal-bootstrap-class-provider">
63      <interface xsi:type="interface.java" interface="org.ow2.frascati.component.factory.api.MembraneProvider"/>
64    </service>
65  </component>
66  <wire source="factory/fractal-bootstrap-class-providers" target="tinfi-oo/fractal-bootstrap-class-provider"/>
67  <wire source="factory/fractal-bootstrap-class-providers" target="julia/fractal-bootstrap-class-provider"/>
68  <wire source="factory/fractal-bootstrap-class-providers" target="osgi-provider/fractal-bootstrap-class-provider"/>
69</composite>