ArchFm: org.ow2.frascati.component.factory.juliac.Juliac.composite

File org.ow2.frascati.component.factory.juliac.Juliac.composite, 3.5 KB (added by acher, 7 years ago)

Juliac 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" name="org.ow2.frascati.component.factory.juliac.Juliac">
3  <component name="jdt-compiler">
4    <implementation.java class="org.ow2.frascati.component.factory.juliac.impl.JuliacCompilerProviderImpl"/>
5    <service name="compiler-provider">
6      <interface.java interface="org.ow2.frascati.component.factory.juliac.api.JuliacCompilerProvider"/>
7    </service>
8    <property name="juliac-compiler">JDT</property>
9  </component>
10  <component name="juliac">
11    <implementation.java class="org.ow2.frascati.component.factory.juliac.impl.JuliacComponent"/>
12    <property name="FRASCATI-GENERATED">FRASCATI_GENERATED</property>
13    <property name="MAVEN-TARGET-DIRECTORY">target</property>
14    <property name="GEN-DIRECTORY">/generated-frascati-sources</property>
15    <property name="CLASS-DIRECTORY">/generated-frascati-classes</property>
16    <service name="membrane-generation">
17      <interface.java interface="org.ow2.frascati.component.factory.api.MembraneGeneration"/>
18    </service>
19    <reference multiplicity="0..n" name="generators" autowire="true">
20      <interface.java interface="org.ow2.frascati.component.factory.api.MembraneProvider"/>
21    </reference>
22    <reference multiplicity="0..1" name="compiler-provider" autowire="true">
23      <interface.java interface="org.ow2.frascati.component.factory.juliac.api.JuliacCompilerProvider"/>
24    </reference>
25  </component>
26  <service name="membrane-generation" promote="juliac/membrane-generation">
27    <interface.java interface="org.ow2.frascati.component.factory.api.MembraneGeneration"/>
28  </service>
29  <component name="tinfi-oo">
30    <implementation.java class="org.ow2.frascati.component.factory.impl.MembraneProviderImpl"/>
31    <property name="membrane-description">OW2 FraSCAti Tinfi Object-Oriented Membranes Juliac Generator</property>
32    <property name="membrane-names">scaPrimitive:scaComposite:scaContainer</property>
33    <property name="membrane-class">org.ow2.frascati.tinfi.opt.oo.FCOOCtrlSourceCodeGenerator</property>
34    <service name="juliac-generator-class-provider">
35      <interface xsi:type="interface.java" interface="org.ow2.frascati.component.factory.api.MembraneProvider"/>
36    </service>
37  </component>
38  <component name="osgi">
39    <implementation.java class="org.ow2.frascati.component.factory.impl.MembraneProviderImpl"/>
40    <property name="membrane-description">OW2 FraSCAti Tinfi OSGi Membranes Generator</property>
41    <property name="membrane-names">osgiPrimitive</property>
42    <property name="membrane-class">org.objectweb.fractal.juliac.osgi.FCOOCtrlSourceCodeGenerator</property>
43    <service name="juliac-generator-class-provider">
44      <interface xsi:type="interface.java" interface="org.ow2.frascati.component.factory.api.MembraneProvider"/>
45    </service>
46  </component>
47  <component name="jdk6-compiler">
48    <implementation.java class="org.ow2.frascati.component.factory.juliac.impl.JuliacCompilerProviderImpl"/>
49    <service name="juliac-compiler">
50      <interface.java interface="org.ow2.frascati.component.factory.juliac.api.JuliacCompilerProvider"/>
51    </service>
52    <property name="juliac-compiler">JDK6</property>
53  </component>
54  <wire source="juliac/generators" target="osgi/juliac-generator-class-provider"/>
55  <wire source="juliac/generators" target="tinfi-oo/juliac-generator-class-provider"/>
56  <wire source="juliac/compiler-provider" target="jdk6-compiler/juliac-compiler"/>
57</composite>