<ipojo xmlns:cs="org.apache.felix.ipojo.test.composite.handler.CheckServiceHandler"> | |
<!-- Used component type --> | |
<component | |
className="org.apache.felix.ipojo.test.composite.component.FooProviderType1" | |
factory="COMPO-FooProviderType-1" architecture="true"> | |
<provides /> | |
</component> | |
<component | |
className="org.apache.felix.ipojo.test.composite.component.FooProviderType1" | |
name="COMPO-FooProviderType-2" architecture="true"> | |
<provides> | |
<property name="int" type="int" value="2" /> | |
<property name="long" type="long" value="40" /> | |
<property name="string" type="java.lang.String" value="foo" /> | |
<property name="strAProp" type="java.lang.String[]" | |
value="{foo, bar}" /> | |
<property name="intAProp" type="int[]" value="{1,2,3}" /> | |
</provides> | |
</component> | |
<component | |
className="org.apache.felix.ipojo.test.composite.component.FooProviderTypeDyn" | |
name="COMPO-FooProviderType-Dyn" architecture="true"> | |
<provides> | |
<property name="int" field="intProp" value="2" /> | |
<property name="boolean" field="boolProp" value="false" /> | |
<property name="string" field="strProp" value="foo" /> | |
<property name="strAProp" field="strAProp" | |
value="{foo, bar}" /> | |
<property name="intAProp" field="intAProp" value="{ 1,2,3}" /> | |
</provides> | |
</component> | |
<component | |
className="org.apache.felix.ipojo.test.composite.component.FooProviderTypeDyn2" | |
name="COMPO-FooProviderType-Dyn2" factory="true" architecture="true"> | |
<provides> | |
<property name="int" field="intProp" value="4" /> | |
<property name="boolean" field="boolProp" /> | |
<property name="string" field="strProp" /> | |
<property name="strAProp" field="strAProp" /> | |
<property name="intAProp" field="intAProp" | |
value="{1, 2,3 }" /> | |
</provides> | |
</component> | |
<component | |
className="org.apache.felix.ipojo.test.composite.component.CheckServiceProvider" | |
factory="COMPO-SimpleCheckServiceProvider" architecture="true"> | |
<requires field="fs" /> | |
<provides /> | |
</component> | |
<component | |
className="org.apache.felix.ipojo.test.composite.component.FooBarProviderType1" | |
factory="COMPO-FooBarProviderType-1" architecture="true"> | |
<provides /> | |
</component> | |
<component | |
className="org.apache.felix.ipojo.test.composite.component.FooBarProviderType1" | |
factory="COMPO-FooBarProviderType-2" architecture="true"> | |
<provides | |
interface="{org.apache.felix.ipojo.test.composite.service.FooService, org.apache.felix.ipojo.test.composite.service.BarService }" /> | |
</component> | |
<component | |
className="org.apache.felix.ipojo.test.composite.component.FooBarProviderType1" | |
factory="COMPO-FooBarProviderType-3" architecture="true"> | |
<provides | |
interface="{org.apache.felix.ipojo.test.composite.service.FooService}"> | |
<property name="baz" type="java.lang.String" value="foo" /> | |
</provides> | |
<provides | |
interface="{org.apache.felix.ipojo.test.composite.service.BarService}"> | |
<property name="baz" type="java.lang.String" value="bar" /> | |
</provides> | |
</component> | |
<component | |
className="org.apache.felix.ipojo.test.composite.component.BazProviderType1" | |
factory="BazProviderType" scope="composite"> | |
<provides /> | |
</component> | |
<component | |
classname="org.apache.felix.ipojo.test.composite.component.TataProvider" | |
factory="tata"> | |
<provides /> | |
</component> | |
<component | |
classname="org.apache.felix.ipojo.test.composite.component.TotoProvider" | |
factory="toto" architecture="true"> | |
<provides /> | |
</component> | |
<component | |
classname="org.apache.felix.ipojo.test.composite.component.TotoProviderGlue" | |
factory="totoglue"> | |
<requires field="m_toto" scope="composite" /> | |
</component> | |
<!-- Composite --> | |
<composite name="composite.empty" factory="true" architecture="true"> | |
</composite> | |
<component className="org.apache.felix.ipojo.test.composite.component.Baz2CheckProvider" factory="Baz2CheckProvider" architecture="true"> | |
<requires field="fs" scope="composite"/> | |
<provides/> | |
</component> | |
</ipojo> |