felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clem...@apache.org
Subject svn commit: r635396 - in /felix/sandbox/clement/ipojo/tests: tests.composite/src/main/java/org/apache/felix/ipojo/test/composite/instance/ tests.core/src/main/java/org/apache/felix/ipojo/test/scenarios/dependency/ tests.core/src/main/resources/
Date Sun, 09 Mar 2008 23:40:27 GMT
Author: clement
Date: Sun Mar  9 16:40:25 2008
New Revision: 635396

URL: http://svn.apache.org/viewvc?rev=635396&view=rev
Log:
Add a simple test to check when a component have two requirement on the same service.

Modified:
    felix/sandbox/clement/ipojo/tests/tests.composite/src/main/java/org/apache/felix/ipojo/test/composite/instance/SimpleInstance.java
    felix/sandbox/clement/ipojo/tests/tests.core/src/main/java/org/apache/felix/ipojo/test/scenarios/dependency/SimpleDependencies.java
    felix/sandbox/clement/ipojo/tests/tests.core/src/main/resources/metadata.xml

Modified: felix/sandbox/clement/ipojo/tests/tests.composite/src/main/java/org/apache/felix/ipojo/test/composite/instance/SimpleInstance.java
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo/tests/tests.composite/src/main/java/org/apache/felix/ipojo/test/composite/instance/SimpleInstance.java?rev=635396&r1=635395&r2=635396&view=diff
==============================================================================
--- felix/sandbox/clement/ipojo/tests/tests.composite/src/main/java/org/apache/felix/ipojo/test/composite/instance/SimpleInstance.java (original)
+++ felix/sandbox/clement/ipojo/tests/tests.composite/src/main/java/org/apache/felix/ipojo/test/composite/instance/SimpleInstance.java Sun Mar  9 16:40:25 2008
@@ -47,7 +47,7 @@
 			under = compoFactory.createComponentInstance(props);
 		} catch(Exception e) {
 		    e.printStackTrace();
-			fail("Cannot instantiate under from " + compoFactory + " -> " + e.getMessage());
+			fail("Cannot instantiate under from " + compoFactory.getName() + " -> " + e.getMessage());
 		}
 		assertTrue("Check instance validity", under.getState() == ComponentInstance.VALID);
 		under.dispose();

Modified: felix/sandbox/clement/ipojo/tests/tests.core/src/main/java/org/apache/felix/ipojo/test/scenarios/dependency/SimpleDependencies.java
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo/tests/tests.core/src/main/java/org/apache/felix/ipojo/test/scenarios/dependency/SimpleDependencies.java?rev=635396&r1=635395&r2=635396&view=diff
==============================================================================
--- felix/sandbox/clement/ipojo/tests/tests.core/src/main/java/org/apache/felix/ipojo/test/scenarios/dependency/SimpleDependencies.java (original)
+++ felix/sandbox/clement/ipojo/tests/tests.core/src/main/java/org/apache/felix/ipojo/test/scenarios/dependency/SimpleDependencies.java Sun Mar  9 16:40:25 2008
@@ -12,7 +12,7 @@
 
 public class SimpleDependencies extends OSGiTestCase {
 	
-	ComponentInstance instance1, instance2, instance3, instance4, instance5;
+	ComponentInstance instance1, instance2, instance3, instance4, instance5, instance6;
 	ComponentInstance fooProvider;
 	
 	public void setUp() {
@@ -41,6 +41,10 @@
 			Properties i5 = new Properties();
             i5.put("name", "Both");
             instance5 = Utils.getFactoryByName(context, "BothCheckServiceProvider").createComponentInstance(i5);
+            
+            Properties i6 = new Properties();
+            i6.put("name", "Double");
+            instance6 = Utils.getFactoryByName(context, "DoubleCheckServiceProvider").createComponentInstance(i6);
 		} catch(Exception e) { 
 		    e.printStackTrace();
 		    fail(e.getMessage()); }
@@ -53,12 +57,14 @@
 		instance3.dispose();
 		instance4.dispose();
 		instance5.dispose();
+		instance6.dispose();
 		fooProvider.dispose();
 		instance1 = null;
 		instance2 = null;
 		instance3 = null;
 		instance4 = null;
 		instance5 = null;
+		instance6 = null;
 		fooProvider = null;
 	}
 	
@@ -251,6 +257,44 @@
         cs = null;
         context.ungetService(arch_ref);
         context.ungetService(cs_ref);
+    }
+	
+	public void testDouble() {
+        ServiceReference arch_ref = Utils.getServiceReferenceByName(context, Architecture.class.getName(), instance6.getInstanceName());
+        assertNotNull("Check architecture availability", arch_ref);
+        InstanceDescription id = ((Architecture) context.getService(arch_ref)).getInstanceDescription();
+        assertTrue("Check instance invalidity - 1", id.getState() == ComponentInstance.INVALID);
+        
+        fooProvider.start();
+        
+        id = ((Architecture) context.getService(arch_ref)).getInstanceDescription();
+        assertTrue("Check instance validity", id.getState() == ComponentInstance.VALID);
+        
+        ServiceReference cs_ref = Utils.getServiceReferenceByName(context, CheckService.class.getName(), instance6.getInstanceName());
+        assertNotNull("Check CheckService availability", cs_ref);
+        CheckService cs = (CheckService) context.getService(cs_ref);
+        cs.check();
+        Properties props = cs.getProps();
+        //Check properties
+        assertTrue("check CheckService invocation -1", ((Boolean)props.get("result")).booleanValue());
+        assertEquals("check void bind invocation -1", ((Integer)props.get("voidB")).intValue(), 0);
+        assertEquals("check void unbind callback invocation -1", ((Integer)props.get("voidU")).intValue(), 0);
+        assertEquals("check object bind callback invocation -1", ((Integer)props.get("objectB")).intValue(), 1);
+        assertEquals("check object unbind callback invocation -1", ((Integer)props.get("objectU")).intValue(), 0);
+        assertEquals("check ref bind callback invocation -1", ((Integer)props.get("refB")).intValue(), 0);
+        assertEquals("check ref unbind callback invocation -1", ((Integer)props.get("refU")).intValue(), 0);
+        assertEquals("check both bind callback invocation -1", ((Integer)props.get("bothB")).intValue(), 0);
+        assertEquals("check both unbind callback invocation -1", ((Integer)props.get("bothU")).intValue(), 0);
+        
+        fooProvider.stop();
+        
+        id = ((Architecture) context.getService(arch_ref)).getInstanceDescription();
+        assertTrue("Check instance invalidity - 2", id.getState() == ComponentInstance.INVALID);
+        
+        id = null;
+        cs = null;
+        context.ungetService(arch_ref);
+        context.ungetService(cs_ref);       
     }
 
 }

Modified: felix/sandbox/clement/ipojo/tests/tests.core/src/main/resources/metadata.xml
URL: http://svn.apache.org/viewvc/felix/sandbox/clement/ipojo/tests/tests.core/src/main/resources/metadata.xml?rev=635396&r1=635395&r2=635396&view=diff
==============================================================================
--- felix/sandbox/clement/ipojo/tests/tests.core/src/main/resources/metadata.xml (original)
+++ felix/sandbox/clement/ipojo/tests/tests.core/src/main/resources/metadata.xml Sun Mar  9 16:40:25 2008
@@ -1,799 +1,1105 @@
-<ipojo xmlns:cs="org.apache.felix.ipojo.test.handler.CheckServiceHandler">
-	<component classname="org.apache.felix.ipojo.test.log.LogImpl" factory="true" name="log">
-		<provides/>
+<ipojo
+	xmlns:cs="org.apache.felix.ipojo.test.handler.CheckServiceHandler">
+	<component classname="org.apache.felix.ipojo.test.log.LogImpl"
+		factory="true" name="log">
+		<provides />
 	</component>
 
 	<!-- Component Types used inside tests -->
 	<!--  Service Providing -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="FooProviderType-1" architecture="true">
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="FooProviderType-1-Sing" factory-method="singleton" architecture="true">
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="FooProviderType-1-Sev" factory-method="several" architecture="true">
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="FooProviderType-1-SingM" factory-method="singleton" architecture="true">
-		<provides factory="method"/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="FooProviderType-1-SevM" factory-method="several" architecture="true">
-		<provides factory="method"/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" name="FooProviderType-2" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="FooProviderType-1" architecture="true">
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="FooProviderType-1-Sing" factory-method="singleton"
+		architecture="true">
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="FooProviderType-1-Sev" factory-method="several"
+		architecture="true">
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="FooProviderType-1-SingM" factory-method="singleton"
+		architecture="true">
+		<provides factory="method" />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="FooProviderType-1-SevM" factory-method="several"
+		architecture="true">
+		<provides factory="method" />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		name="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}"/>
+			<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.scenarios.component.FooProviderTypeDyn" name="FooProviderType-Dyn" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderTypeDyn"
+		name="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}"/>
+			<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.scenarios.component.FooProviderTypeDyn2" name="FooProviderType-Dyn2" factory="true" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderTypeDyn2"
+		name="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 }"/>
+			<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.scenarios.component.FooProviderTypeDyn" factory="FooProviderType-Conf" architecture="true">
-		<provides/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderTypeDyn"
+		factory="FooProviderType-Conf" architecture="true">
+		<provides />
 		<properties propagation="false">
-			<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}"/>
-    	</properties>
+			<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}" />
+		</properties>
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="FooProviderType-3" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="FooProviderType-3" architecture="true">
 		<provides>
-			<property name="foo" field="m_foo"/>
-			<property name="bar" field="m_bar"/>
-			<property name="baz" type="java.lang.String"/>
+			<property name="foo" field="m_foo" />
+			<property name="bar" field="m_bar" />
+			<property name="baz" type="java.lang.String" />
 		</provides>
 		<properties propagation="true">
-			<property name="foo" field="m_foo"/>
-			<property name="bar" field="m_bar"/>
+			<property name="foo" field="m_foo" />
+			<property name="bar" field="m_bar" />
 		</properties>
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="FooProviderType-itf" architecture="true">
-		<provides interface="org.apache.felix.ipojo.test.scenarios.service.FooService"/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooBarProviderType1" factory="FooBarProviderType-1" architecture="true">
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooBarProviderType1" factory="FooBarProviderType-2" architecture="true">
-		<provides interface="{org.apache.felix.ipojo.test.scenarios.service.FooService, org.apache.felix.ipojo.test.scenarios.service.BarService }"/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooBarProviderType1" factory="FooBarProviderType-3" architecture="true">
-		<provides interface="{org.apache.felix.ipojo.test.scenarios.service.FooService}">
-			<property name="baz" type="java.lang.String" value="foo"/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="FooProviderType-itf" architecture="true">
+		<provides
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService" />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooBarProviderType1"
+		factory="FooBarProviderType-1" architecture="true">
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooBarProviderType1"
+		factory="FooBarProviderType-2" architecture="true">
+		<provides
+			interface="{org.apache.felix.ipojo.test.scenarios.service.FooService, org.apache.felix.ipojo.test.scenarios.service.BarService }" />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooBarProviderType1"
+		factory="FooBarProviderType-3" architecture="true">
+		<provides
+			interface="{org.apache.felix.ipojo.test.scenarios.service.FooService}">
+			<property name="baz" type="java.lang.String" value="foo" />
 		</provides>
-		<provides interface="{org.apache.felix.ipojo.test.scenarios.service.BarService}">
-			<property name="baz" type="java.lang.String" value="bar"/>
+		<provides
+			interface="{org.apache.felix.ipojo.test.scenarios.service.BarService}">
+			<property name="baz" type="java.lang.String" value="bar" />
 		</provides>
 	</component>
-	
+
 	<!-- Immediate Component -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="ImmediateFooProviderType" immediate="true" architecture="true">
-		<provides/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="ImmediateFooProviderType" immediate="true"
+		architecture="true">
+		<provides />
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="ImmediateFooProviderTypeSingleton" immediate="true" factory-method="singleton" architecture="true">
-		<provides/>
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="ImmediateFooProviderTypeSingleton" immediate="true"
+		factory-method="singleton" architecture="true">
+		<provides />
 	</component>
 
 	<!--  Simple Filter Dependencies -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckProvider" factory="SimpleFilterCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckProvider"
+		factory="SimpleFilterCheckServiceProvider" architecture="true">
 		<provides>
-			<property field="m_toto" name="toto" value="A"/>
+			<property field="m_toto" name="toto" value="A" />
 		</provides>
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckSubscriber" factory="SimpleFilterCheckServiceSubscriber" architecture="true">
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckSubscriber"
+		factory="SimpleFilterCheckServiceSubscriber" architecture="true">
 		<requires field="m_foo" filter="(toto=B)" id="id1">
-			<callback type="bind" method="Bind"/>
-			<callback type="unbind" method="Unbind"/>
+			<callback type="bind" method="Bind" />
+			<callback type="unbind" method="Unbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckSubscriber" factory="SimpleFilterCheckServiceSubscriber2" architecture="true">
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckSubscriber"
+		factory="SimpleFilterCheckServiceSubscriber2" architecture="true">
 		<requires field="m_foo" id="id2">
-			<callback type="bind" method="Bind"/>
-			<callback type="unbind" method="Unbind"/>
+			<callback type="bind" method="Bind" />
+			<callback type="unbind" method="Unbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
+
 	<!--  Optional Simple Filter Dependencies -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckSubscriber" factory="OptionalSimpleFilterCheckServiceSubscriber" architecture="true">
-		<requires field="m_foo" filter="(toto=B)" id="id1" optional="true">
-			<callback type="bind" method="Bind"/>
-			<callback type="unbind" method="Unbind"/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckSubscriber"
+		factory="OptionalSimpleFilterCheckServiceSubscriber"
+		architecture="true">
+		<requires field="m_foo" filter="(toto=B)" id="id1"
+			optional="true">
+			<callback type="bind" method="Bind" />
+			<callback type="unbind" method="Unbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckSubscriber" factory="OptionalSimpleFilterCheckServiceSubscriber2" architecture="true">
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FilterCheckSubscriber"
+		factory="OptionalSimpleFilterCheckServiceSubscriber2"
+		architecture="true">
 		<requires field="m_foo" id="id2" optional="true">
-			<callback type="bind" method="Bind"/>
-			<callback type="unbind" method="Unbind"/>
+			<callback type="bind" method="Bind" />
+			<callback type="unbind" method="Unbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
+
 	<!-- Aggregate filter Dependencies-->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleFilterCheckSubscriber" factory="MultipleFilterCheckServiceSubscriber" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleFilterCheckSubscriber"
+		factory="MultipleFilterCheckServiceSubscriber" architecture="true">
 		<requires field="m_foo" filter="(toto=B)" id="id1">
-			<callback type="bind" method="Bind"/>
-			<callback type="unbind" method="Unbind"/>
+			<callback type="bind" method="Bind" />
+			<callback type="unbind" method="Unbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleFilterCheckSubscriber" factory="MultipleFilterCheckServiceSubscriber2" architecture="true">
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleFilterCheckSubscriber"
+		factory="MultipleFilterCheckServiceSubscriber2" architecture="true">
 		<requires field="m_foo" id="id2">
-			<callback type="bind" method="Bind"/>
-			<callback type="unbind" method="Unbind"/>
+			<callback type="bind" method="Bind" />
+			<callback type="unbind" method="Unbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
+
 	<!--  Optional Aggregate Filter Dependencies -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleFilterCheckSubscriber" factory="OptionalMultipleFilterCheckServiceSubscriber" architecture="true">
-		<requires field="m_foo" filter="(toto=B)" id="id1" optional="true">
-			<callback type="bind" method="Bind"/>
-			<callback type="unbind" method="Unbind"/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleFilterCheckSubscriber"
+		factory="OptionalMultipleFilterCheckServiceSubscriber"
+		architecture="true">
+		<requires field="m_foo" filter="(toto=B)" id="id1"
+			optional="true">
+			<callback type="bind" method="Bind" />
+			<callback type="unbind" method="Unbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleFilterCheckSubscriber" factory="OptionalMultipleFilterCheckServiceSubscriber2" architecture="true">
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleFilterCheckSubscriber"
+		factory="OptionalMultipleFilterCheckServiceSubscriber2"
+		architecture="true">
 		<requires field="m_foo" id="id2" optional="true">
-			<callback type="bind" method="Bind"/>
-			<callback type="unbind" method="Unbind"/>
+			<callback type="bind" method="Bind" />
+			<callback type="unbind" method="Unbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
-	
+
+
 	<!--  Simple Dependencies -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="SimpleCheckServiceProvider" architecture="true">
-		<requires field="fs"/>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="VoidCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="SimpleCheckServiceProvider" architecture="true">
+		<requires field="fs" />
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="VoidCheckServiceProvider" architecture="true">
 		<requires field="fs">
-			<callback type="bind" method="voidBind"/>
-			<callback type="unbind" method="voidUnbind"/>
+			<callback type="bind" method="voidBind" />
+			<callback type="unbind" method="voidUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="ObjectCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="ObjectCheckServiceProvider" architecture="true">
 		<requires field="fs">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="RefCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="RefCheckServiceProvider" architecture="true">
 		<requires field="fs">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
 		</requires>
-     	<provides/>
+		<provides />
 	</component>
-		<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="BothCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="BothCheckServiceProvider" architecture="true">
 		<requires field="fs">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-     	<provides/>
+		<provides />
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="MObjectCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="DoubleCheckServiceProvider" architecture="true">
 		<requires>
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<requires field="fs" />
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="MRefCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="MObjectCheckServiceProvider" architecture="true">
+		<requires>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-     	<provides/>
+		<provides />
 	</component>
-    <component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="MBothCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="MRefCheckServiceProvider" architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService">
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="MBothCheckServiceProvider" architecture="true">
 		<requires>
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
 
 	<!-- Simple & Optional Dependencies -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="SimpleOptionalCheckServiceProvider" architecture="true">
-		<requires field="fs" optional="true"/>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="VoidOptionalCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="SimpleOptionalCheckServiceProvider" architecture="true">
+		<requires field="fs" optional="true" />
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="VoidOptionalCheckServiceProvider" architecture="true">
 		<requires field="fs" optional="true">
-			<callback type="bind" method="voidBind"/>
-			<callback type="unbind" method="voidUnbind"/>
+			<callback type="bind" method="voidBind" />
+			<callback type="unbind" method="voidUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="ObjectOptionalCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="ObjectOptionalCheckServiceProvider" architecture="true">
 		<requires field="fs" optional="true">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="RefOptionalCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="RefOptionalCheckServiceProvider" architecture="true">
 		<requires field="fs" optional="true">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-    <component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="BothOptionalCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="BothOptionalCheckServiceProvider" architecture="true">
 		<requires field="fs" optional="true">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="MObjectOptionalCheckServiceProvider" architecture="true">
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="MObjectOptionalCheckServiceProvider" architecture="true">
 		<requires optional="true">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
-		</requires>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="MRefOptionalCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" optional="true">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="MBothOptionalCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" optional="true">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="MRefOptionalCheckServiceProvider" architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			optional="true">
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="MBothOptionalCheckServiceProvider" architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			optional="true">
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
+
 	<!-- Simple & Optional Dependencies with default-implementation -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="DISimpleOptionalCheckServiceProvider" architecture="true">
-		<requires field="fs" optional="true" default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl"/>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="DIVoidOptionalCheckServiceProvider" architecture="true">
-		<requires field="fs" optional="true" default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
-			<callback type="bind" method="voidBind"/>
-			<callback type="unbind" method="voidUnbind"/>
-		</requires>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="DIObjectOptionalCheckServiceProvider" architecture="true">
-		<requires field="fs" optional="true" default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
-		</requires>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="DIRefOptionalCheckServiceProvider" architecture="true">
-		<requires field="fs" optional="true" default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
-		</requires>
-		<provides/>
-	</component>
-    <component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="DIBothOptionalCheckServiceProvider" architecture="true">
-		<requires field="fs" optional="true" default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="DISimpleOptionalCheckServiceProvider" architecture="true">
+		<requires field="fs" optional="true"
+			default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl" />
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="DIVoidOptionalCheckServiceProvider" architecture="true">
+		<requires field="fs" optional="true"
+			default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
+			<callback type="bind" method="voidBind" />
+			<callback type="unbind" method="voidUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="DIObjectOptionalCheckServiceProvider" architecture="true">
+		<requires field="fs" optional="true"
+			default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="DIRefOptionalCheckServiceProvider" architecture="true">
+		<requires field="fs" optional="true"
+			default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="DIBothOptionalCheckServiceProvider" architecture="true">
+		<requires field="fs" optional="true"
+			default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="DIMObjectOptionalCheckServiceProvider" architecture="true">
-		<requires optional="true" default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
-		</requires>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="DIMRefOptionalCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" optional="true" default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
-		</requires>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="DIMBothOptionalCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" optional="true" default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="DIMObjectOptionalCheckServiceProvider" architecture="true">
+		<requires optional="true"
+			default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="DIMRefOptionalCheckServiceProvider" architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			optional="true"
+			default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="DIMBothOptionalCheckServiceProvider" architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			optional="true"
+			default-implementation="org.apache.felix.ipojo.test.scenarios.component.FooServiceDefaultImpl">
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
 
 	<!--  Multiple Dependencies -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="SimpleMultipleCheckServiceProvider" architecture="true">
-		<requires field="fs"/>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="VoidMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="SimpleMultipleCheckServiceProvider" architecture="true">
+		<requires field="fs" />
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="VoidMultipleCheckServiceProvider" architecture="true">
 		<requires field="fs">
-			<callback type="bind" method="voidBind"/>
-			<callback type="unbind" method="voidUnbind"/>
+			<callback type="bind" method="voidBind" />
+			<callback type="unbind" method="voidUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="ObjectMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="ObjectMultipleCheckServiceProvider" architecture="true">
 		<requires field="fs">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="RefMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="RefMultipleCheckServiceProvider" architecture="true">
 		<requires field="fs">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="BothMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="BothMultipleCheckServiceProvider" architecture="true">
 		<requires field="fs">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
-	</component>	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService" factory="MObjectMultipleCheckServiceProvider" architecture="true">
-		<requires aggregate="true">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
-		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService" factory="MRefMultipleCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" aggregate="true">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService"
+		factory="MObjectMultipleCheckServiceProvider" architecture="true">
+		<requires aggregate="true">
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService" factory="MBothMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService"
+		factory="MRefMultipleCheckServiceProvider" architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			aggregate="true">
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService"
+		factory="MBothMultipleCheckServiceProvider" architecture="true">
 		<requires aggregate="true">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
-	</component>		
-	
-	<!-- Multiple & Optional Dependencies -->
-    <component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="SimpleOptionalMultipleCheckServiceProvider" architecture="true">
-		<requires field="fs" optional="true"/>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="VoidOptionalMultipleCheckServiceProvider" architecture="true">
+
+	<!-- Multiple & Optional Dependencies -->
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="SimpleOptionalMultipleCheckServiceProvider"
+		architecture="true">
+		<requires field="fs" optional="true" />
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="VoidOptionalMultipleCheckServiceProvider"
+		architecture="true">
 		<requires field="fs" optional="true">
-			<callback type="bind" method="voidBind"/>
-			<callback type="unbind" method="voidUnbind"/>
+			<callback type="bind" method="voidBind" />
+			<callback type="unbind" method="voidUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="ObjectOptionalMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="ObjectOptionalMultipleCheckServiceProvider"
+		architecture="true">
 		<requires field="fs" optional="true">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="RefOptionalMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="RefOptionalMultipleCheckServiceProvider"
+		architecture="true">
 		<requires field="fs" optional="true">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService" factory="MObjectOptionalMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService"
+		factory="MObjectOptionalMultipleCheckServiceProvider"
+		architecture="true">
 		<requires aggregate="true" optional="true">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService" factory="MRefOptionalMultipleCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" aggregate="true" optional="true">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
-		</requires>
-		<provides/>
-	</component>	
-	
-	<!-- Static Dependencies -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticSimpleCheckServiceProvider" architecture="true">
-		<requires field="fs" policy="static"/>
-		<provides/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService"
+		factory="MRefOptionalMultipleCheckServiceProvider"
+		architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			aggregate="true" optional="true">
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
+		</requires>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticVoidCheckServiceProvider" architecture="true">
+
+	<!-- Static Dependencies -->
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticSimpleCheckServiceProvider" architecture="true">
+		<requires field="fs" policy="static" />
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticVoidCheckServiceProvider" architecture="true">
 		<requires field="fs" policy="static">
-			<callback type="bind" method="voidBind"/>
-			<callback type="unbind" method="voidUnbind"/>
+			<callback type="bind" method="voidBind" />
+			<callback type="unbind" method="voidUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticObjectCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticObjectCheckServiceProvider" architecture="true">
 		<requires field="fs" policy="static">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticRefCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticRefCheckServiceProvider" architecture="true">
 		<requires field="fs" policy="static">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
 		</requires>
-     	<provides/>
+		<provides />
 	</component>
-		<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticBothCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticBothCheckServiceProvider" architecture="true">
 		<requires field="fs" policy="static">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-     	<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="StaticMObjectCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="StaticMObjectCheckServiceProvider" architecture="true">
 		<requires policy="static">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
-		</requires>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="StaticMRefCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" policy="static">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-     	<provides/>
+		<provides />
 	</component>
-    <component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="StaticMBothCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="StaticMRefCheckServiceProvider" architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			policy="static">
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="StaticMBothCheckServiceProvider" architecture="true">
 		<requires policy="static">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	
+
 	<!-- Static Simple & Optional Dependencies -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticSimpleOptionalCheckServiceProvider" architecture="true">
-		<requires field="fs" optional="true" policy="static"/>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticVoidOptionalCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticSimpleOptionalCheckServiceProvider"
+		architecture="true">
+		<requires field="fs" optional="true" policy="static" />
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticVoidOptionalCheckServiceProvider"
+		architecture="true">
 		<requires field="fs" optional="true" policy="static">
-			<callback type="bind" method="voidBind"/>
-			<callback type="unbind" method="voidUnbind"/>
+			<callback type="bind" method="voidBind" />
+			<callback type="unbind" method="voidUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticObjectOptionalCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticObjectOptionalCheckServiceProvider"
+		architecture="true">
 		<requires field="fs" optional="true" policy="static">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticRefOptionalCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticRefOptionalCheckServiceProvider" architecture="true">
 		<requires field="fs" optional="true" policy="static">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-    <component className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider" factory="StaticBothOptionalCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CheckServiceProvider"
+		factory="StaticBothOptionalCheckServiceProvider"
+		architecture="true">
 		<requires field="fs" optional="true" policy="static">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="StaticMObjectOptionalCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="StaticMObjectOptionalCheckServiceProvider"
+		architecture="true">
 		<requires optional="true" policy="static">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
-		</requires>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="StaticMRefOptionalCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" optional="true" policy="static">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
-		</requires>
-		<provides/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider" factory="StaticMBothOptionalCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" optional="true" policy="static">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
-	</component>
-    <!--  Static Multiple Dependencies -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="StaticSimpleMultipleCheckServiceProvider" architecture="true">
-		<requires field="fs" policy="static"/>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="StaticVoidMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="StaticMRefOptionalCheckServiceProvider"
+		architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			optional="true" policy="static">
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodCheckServiceProvider"
+		factory="StaticMBothOptionalCheckServiceProvider"
+		architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			optional="true" policy="static">
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<!--  Static Multiple Dependencies -->
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="StaticSimpleMultipleCheckServiceProvider"
+		architecture="true">
+		<requires field="fs" policy="static" />
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="StaticVoidMultipleCheckServiceProvider"
+		architecture="true">
 		<requires field="fs" policy="static">
-			<callback type="bind" method="voidBind"/>
-			<callback type="unbind" method="voidUnbind"/>
+			<callback type="bind" method="voidBind" />
+			<callback type="unbind" method="voidUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="StaticObjectMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="StaticObjectMultipleCheckServiceProvider"
+		architecture="true">
 		<requires field="fs" policy="static">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="StaticRefMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="StaticRefMultipleCheckServiceProvider" architecture="true">
 		<requires field="fs" policy="static">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService" factory="StaticBothMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MultipleCheckService"
+		factory="StaticBothMultipleCheckServiceProvider"
+		architecture="true">
 		<requires field="fs" policy="static">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
-		</requires>
-		<provides/>
-	</component>	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService" factory="StaticMObjectMultipleCheckServiceProvider" architecture="true">
-		<requires aggregate="true" policy="static">
-			<callback type="bind" method="objectBind"/>
-			<callback type="unbind" method="objectUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService" factory="StaticMRefMultipleCheckServiceProvider" architecture="true">
-		<requires interface="org.apache.felix.ipojo.test.scenarios.service.FooService" aggregate="true" policy="static">
-			<callback type="bind" method="refBind"/>
-			<callback type="unbind" method="refUnbind"/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService"
+		factory="StaticMObjectMultipleCheckServiceProvider"
+		architecture="true">
+		<requires aggregate="true" policy="static">
+			<callback type="bind" method="objectBind" />
+			<callback type="unbind" method="objectUnbind" />
 		</requires>
-		<provides/>
+		<provides />
 	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService" factory="StaticMBothMultipleCheckServiceProvider" architecture="true">
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService"
+		factory="StaticMRefMultipleCheckServiceProvider"
+		architecture="true">
+		<requires
+			interface="org.apache.felix.ipojo.test.scenarios.service.FooService"
+			aggregate="true" policy="static">
+			<callback type="bind" method="refBind" />
+			<callback type="unbind" method="refUnbind" />
+		</requires>
+		<provides />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.MethodMultipleCheckService"
+		factory="StaticMBothMultipleCheckServiceProvider"
+		architecture="true">
 		<requires aggregate="true" policy="static">
-			<callback type="bind" method="bothBind"/>
-			<callback type="unbind" method="bothUnbind"/>
+			<callback type="bind" method="bothBind" />
+			<callback type="unbind" method="bothUnbind" />
 		</requires>
-		<provides/>
-	</component>		
-	
-	
+		<provides />
+	</component>
+
+
 	<!-- Lifecycle Callback -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService" factory="CallbackCheckService" architecture="true">
-		<requires field="fs"/>
-		<provides/>
-		<callback transition="validate" method="start"/>
-		<callback transition="invalidate" method="stop"/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService" factory="ParentCallbackCheckService" architecture="true">
-		<requires field="fs"/>
-		<provides/>
-		<callback transition="validate" method="parentStart"/>
-		<callback transition="invalidate" method="parentStop"/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService" immediate="true" factory="ImmediateCallbackCheckService" architecture="true">
-		<requires field="fs"/>
-		<provides/>
-		<callback transition="validate" method="start"/>
-		<callback transition="invalidate" method="stop"/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService" immediate="true" factory="ImmediateCallbackCheckServiceSingleton" factory-method="singleton" architecture="true">
-		<requires field="fs"/>
-		<provides/>
-		<callback transition="validate" method="start"/>
-		<callback transition="invalidate" method="stop"/>
-	</component>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService" immediate="true" factory="ImmediateCallbackCheckServiceSeveral" factory-method="several" architecture="true">
-		<requires field="fs"/>
-		<provides/>
-		<callback transition="validate" method="start"/>
-		<callback transition="invalidate" method="stop"/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService"
+		factory="CallbackCheckService" architecture="true">
+		<requires field="fs" />
+		<provides />
+		<callback transition="validate" method="start" />
+		<callback transition="invalidate" method="stop" />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService"
+		factory="ParentCallbackCheckService" architecture="true">
+		<requires field="fs" />
+		<provides />
+		<callback transition="validate" method="parentStart" />
+		<callback transition="invalidate" method="parentStop" />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService"
+		immediate="true" factory="ImmediateCallbackCheckService"
+		architecture="true">
+		<requires field="fs" />
+		<provides />
+		<callback transition="validate" method="start" />
+		<callback transition="invalidate" method="stop" />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService"
+		immediate="true" factory="ImmediateCallbackCheckServiceSingleton"
+		factory-method="singleton" architecture="true">
+		<requires field="fs" />
+		<provides />
+		<callback transition="validate" method="start" />
+		<callback transition="invalidate" method="stop" />
+	</component>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.CallbackCheckService"
+		immediate="true" factory="ImmediateCallbackCheckServiceSeveral"
+		factory-method="several" architecture="true">
+		<requires field="fs" />
+		<provides />
+		<callback transition="validate" method="start" />
+		<callback transition="invalidate" method="stop" />
 	</component>
-	
+
 	<!-- Manipulation -->
-	<component className="org.apache.felix.ipojo.test.scenarios.component.Manipulation23Tester" factory="PrimitiveManipulationTester" architecture="true">
-		<provides/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.Manipulation23Tester"
+		factory="PrimitiveManipulationTester" architecture="true">
+		<provides />
 	</component>
-	
-	<component className="org.apache.felix.ipojo.test.scenarios.component.A123.Manipulation23Tester" factory="PrimitiveManipulationTesterA" architecture="true">
-		<provides/>
+
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.A123.Manipulation23Tester"
+		factory="PrimitiveManipulationTesterA" architecture="true">
+		<provides />
 	</component>
-	
+
 	<!-- Configuration Management Test -->
-	<component factory="FieldConfigurableCheckService" className="org.apache.felix.ipojo.test.scenarios.component.ConfigurableCheckServiceProvider" architecture="true">
-		<provides/>
+	<component factory="FieldConfigurableCheckService"
+		className="org.apache.felix.ipojo.test.scenarios.component.ConfigurableCheckServiceProvider"
+		architecture="true">
+		<provides />
 		<properties propagation="true">
-			<property field="b"/>
-			<property field="s"/>
-			<property field="i"/>
-			<property field="l"/>
-			<property field="d"/>
-			<property field="f"/>
-			<property field="c"/>
-			<property field="bool"/>
-			<property field="bs"/>
-			<property field="ss"/>
-			<property field="is"/>
-			<property field="ls"/>
-			<property field="ds"/>
-			<property field="fs"/>
-			<property field="cs"/>
-			<property field="bools"/>
-			<property field="string"/>
-			<property field="strings"/>
-		</properties> 
-	</component>
-	
-	<component factory="BothConfigurableCheckService" className="org.apache.felix.ipojo.test.scenarios.component.ConfigurableCheckServiceProvider" architecture="true">
-		<provides/>
+			<property field="b" />
+			<property field="s" />
+			<property field="i" />
+			<property field="l" />
+			<property field="d" />
+			<property field="f" />
+			<property field="c" />
+			<property field="bool" />
+			<property field="bs" />
+			<property field="ss" />
+			<property field="is" />
+			<property field="ls" />
+			<property field="ds" />
+			<property field="fs" />
+			<property field="cs" />
+			<property field="bools" />
+			<property field="string" />
+			<property field="strings" />
+		</properties>
+	</component>
+
+	<component factory="BothConfigurableCheckService"
+		className="org.apache.felix.ipojo.test.scenarios.component.ConfigurableCheckServiceProvider"
+		architecture="true">
+		<provides />
 		<properties propagation="true">
-			<property field="b" method="updateB"/>
-			<property field="s" method="updateS"/>
-			<property field="i" method="updateI"/>
-			<property field="l" method="updateL"/>
-			<property field="d" method="updateD"/>
-			<property field="f" method="updateF"/>
-			<property field="c" method="updateC"/>
-			<property field="bool" method="updateBool"/>
-			<property field="bs" method="updateBs"/>
-			<property field="ss" method="updateSs"/>
-			<property field="is" method="updateIs"/>
-			<property field="ls" method="updateLs"/>
-			<property field="ds" method="updateDs"/>
-			<property field="fs" method="updateFs"/>
-			<property field="cs" method="updateCs"/>
-			<property field="bools" method="updateBools"/>
-			<property field="string" method="updateString"/>
-			<property field="strings" method="updateStrings"/>
-		</properties> 
-	</component>
-	
-	<component factory="MethodConfigurableCheckService" className="org.apache.felix.ipojo.test.scenarios.component.ConfigurableCheckServiceProvider" architecture="true">
-		<provides/>
+			<property field="b" method="updateB" />
+			<property field="s" method="updateS" />
+			<property field="i" method="updateI" />
+			<property field="l" method="updateL" />
+			<property field="d" method="updateD" />
+			<property field="f" method="updateF" />
+			<property field="c" method="updateC" />
+			<property field="bool" method="updateBool" />
+			<property field="bs" method="updateBs" />
+			<property field="ss" method="updateSs" />
+			<property field="is" method="updateIs" />
+			<property field="ls" method="updateLs" />
+			<property field="ds" method="updateDs" />
+			<property field="fs" method="updateFs" />
+			<property field="cs" method="updateCs" />
+			<property field="bools" method="updateBools" />
+			<property field="string" method="updateString" />
+			<property field="strings" method="updateStrings" />
+		</properties>
+	</component>
+
+	<component factory="MethodConfigurableCheckService"
+		className="org.apache.felix.ipojo.test.scenarios.component.ConfigurableCheckServiceProvider"
+		architecture="true">
+		<provides />
 		<properties propagation="true">
-			<property method="updateB" name="b"/>
-			<property method="updateS" name="s"/>
-			<property method="updateI" name="i"/>
-			<property method="updateL" name="l"/>
-			<property method="updateD" name="d"/>
-			<property method="updateF" name="f"/>
-			<property method="updateC" name="c"/>
-			<property method="updateBool" name="bool"/>
-			<property method="updateBs" name="bs"/>
-			<property method="updateSs" name="ss"/>
-			<property method="updateIs" name="is"/>
-			<property method="updateLs" name="ls"/>
-			<property method="updateDs" name="ds"/>
-			<property method="updateFs" name="fs"/>
-			<property method="updateCs" name="cs"/>
-			<property method="updateBools" name="bools"/>
-			<property method="updateString" name="string"/>
-			<property method="updateStrings" name="strings"/>
-		</properties> 
-	</component>
-	
-	<component factory="ParentMethodConfigurableCheckService" className="org.apache.felix.ipojo.test.scenarios.component.ParentConfigurableCheckServiceProvider" architecture="true">
-		<provides/>
+			<property method="updateB" name="b" />
+			<property method="updateS" name="s" />
+			<property method="updateI" name="i" />
+			<property method="updateL" name="l" />
+			<property method="updateD" name="d" />
+			<property method="updateF" name="f" />
+			<property method="updateC" name="c" />
+			<property method="updateBool" name="bool" />
+			<property method="updateBs" name="bs" />
+			<property method="updateSs" name="ss" />
+			<property method="updateIs" name="is" />
+			<property method="updateLs" name="ls" />
+			<property method="updateDs" name="ds" />
+			<property method="updateFs" name="fs" />
+			<property method="updateCs" name="cs" />
+			<property method="updateBools" name="bools" />
+			<property method="updateString" name="string" />
+			<property method="updateStrings" name="strings" />
+		</properties>
+	</component>
+
+	<component factory="ParentMethodConfigurableCheckService"
+		className="org.apache.felix.ipojo.test.scenarios.component.ParentConfigurableCheckServiceProvider"
+		architecture="true">
+		<provides />
 		<properties propagation="true">
-			<property method="updateB" name="b"/>
-			<property method="updateS" name="s"/>
-			<property method="updateI" name="i"/>
-			<property method="updateL" name="l"/>
-			<property method="updateD" name="d"/>
-			<property method="updateF" name="f"/>
-			<property method="updateC" name="c"/>
-			<property method="updateBool" name="bool"/>
-			<property method="updateBs" name="bs"/>
-			<property method="updateSs" name="ss"/>
-			<property method="updateIs" name="is"/>
-			<property method="updateLs" name="ls"/>
-			<property method="updateDs" name="ds"/>
-			<property method="updateFs" name="fs"/>
-			<property method="updateCs" name="cs"/>
-			<property method="updateBools" name="bools"/>
-			<property method="updateString" name="string" type="string"/>
-			<property method="updateStrings" name="strings" type="java.lang.String[]"/>
-		</properties> 
+			<property method="updateB" name="b" />
+			<property method="updateS" name="s" />
+			<property method="updateI" name="i" />
+			<property method="updateL" name="l" />
+			<property method="updateD" name="d" />
+			<property method="updateF" name="f" />
+			<property method="updateC" name="c" />
+			<property method="updateBool" name="bool" />
+			<property method="updateBs" name="bs" />
+			<property method="updateSs" name="ss" />
+			<property method="updateIs" name="is" />
+			<property method="updateLs" name="ls" />
+			<property method="updateDs" name="ds" />
+			<property method="updateFs" name="fs" />
+			<property method="updateCs" name="cs" />
+			<property method="updateBools" name="bools" />
+			<property method="updateString" name="string" type="string" />
+			<property method="updateStrings" name="strings"
+				type="java.lang.String[]" />
+		</properties>
 	</component>
-	
+
 	<!-- Handler test -->
-	<handler classname="org.apache.felix.ipojo.test.handler.CheckServiceHandler" name="check" namespace="org.apache.felix.ipojo.test.handler.CheckServiceHandler" architecture="false">
-		<controller field="isValid"/>
+	<handler
+		classname="org.apache.felix.ipojo.test.handler.CheckServiceHandler"
+		name="check"
+		namespace="org.apache.felix.ipojo.test.handler.CheckServiceHandler"
+		architecture="false">
+		<controller field="isValid" />
 	</handler>
-	<component className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1" factory="HandlerTester" architecture="true">
-	 <cs:check/>
+	<component
+		className="org.apache.felix.ipojo.test.scenarios.component.FooProviderType1"
+		factory="HandlerTester" architecture="true">
+		<cs:check />
 	</component>
 	<instance name="HandlerTest-2" component="HandlerTester">
-		<property name="csh.simple" value="Simple"/>
+		<property name="csh.simple" value="Simple" />
 		<property name="csh.map">
-			<property name="a" value="a"/>
-			<property name="b" value="b"/>
-			<property name="c" value="c"/>
+			<property name="a" value="a" />
+			<property name="b" value="b" />
+			<property name="c" value="c" />
 		</property>
 	</instance>
-	
+
 	<!-- Test lifecycle controller -->
-	<component classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest" name="lcTest">
-		<provides/>
-		<controller field="m_state"/>
+	<component
+		classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"
+		name="lcTest">
+		<provides />
+		<controller field="m_state" />
 		<properties>
-			<property name="conf" field="m_conf" method="setConf"/>
+			<property name="conf" field="m_conf" method="setConf" />
 		</properties>
 	</component>
-	
-	<component classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest" name="lcTest2" immediate="true" architecture="true">
-		<provides/>
-		<controller field="m_state"/>
+
+	<component
+		classname="org.apache.felix.ipojo.test.scenarios.component.LifecycleControllerTest"
+		name="lcTest2" immediate="true" architecture="true">
+		<provides />
+		<controller field="m_state" />
 		<properties>
-			<property name="conf" field="m_conf" method="setConf"/>
+			<property name="conf" field="m_conf" method="setConf" />
 		</properties>
 	</component>
-	
+
 	<!--  Inherited Provides -->
-	<component classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation1" name="PI1" architecture="true">
-		<provides/>
+	<component
+		classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation1"
+		name="PI1" architecture="true">
+		<provides />
+	</component>
+
+	<component
+		classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation1"
+		name="PI1-1" architecture="true">
+		<provides
+			interface="org.apache.felix.ipojo.test.scenarios.service.ParentParentInterface" />
 	</component>
-	
-	<component classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation1" name="PI1-1" architecture="true">
-		<provides interface="org.apache.felix.ipojo.test.scenarios.service.ParentParentInterface"/>
-	</component>
-	
-	<component classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation1" name="PI1-2" architecture="true">
-		<provides interface="{org.apache.felix.ipojo.test.scenarios.service.ParentParentInterface, org.apache.felix.ipojo.test.scenarios.service.ParentInterface2}"/>
-	</component>
-	
-	<component classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation2" name="PI2" architecture="true">
-		<provides/>
-	</component>
-	
-	<component classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation2" name="PI2-1" architecture="true">
-		<provides interface="org.apache.felix.ipojo.test.scenarios.service.ParentParentInterface"/>
-	</component>
-	
-	<component classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation3" name="PI3" architecture="true">
-		<provides/>
+
+	<component
+		classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation1"
+		name="PI1-2" architecture="true">
+		<provides
+			interface="{org.apache.felix.ipojo.test.scenarios.service.ParentParentInterface, org.apache.felix.ipojo.test.scenarios.service.ParentInterface2}" />
+	</component>
+
+	<component
+		classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation2"
+		name="PI2" architecture="true">
+		<provides />
 	</component>
-	
-	<instance component="log" name="MyLogger"/>
+
+	<component
+		classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation2"
+		name="PI2-1" architecture="true">
+		<provides
+			interface="org.apache.felix.ipojo.test.scenarios.service.ParentParentInterface" />
+	</component>
+
+	<component
+		classname="org.apache.felix.ipojo.test.scenarios.component.inherited.ProcessImplementation3"
+		name="PI3" architecture="true">
+		<provides />
+	</component>
+
+	<instance component="log" name="MyLogger" />
 </ipojo>



Mime
View raw message