blob: dcc9c16e2bfa2f72326b1aa8da8e8d93d980efdc [file] [log] [blame]
Clement Escoffierce0e1e52008-03-28 15:33:36 +00001<ipojo xmlns:props="example.handler.properties">
2
3 <!-- Declare a component using your handler -->
4 <component
5 classname="org.apache.felix.ipojo.handler.properties.example.PropertiesTester">
6 <callback transition="validate" method="start" />
7 <callback transition="invalidate" method="stop" />
8 <!-- declare our handler -->
9 <props:properties file="props\properties.txt" />
10 </component>
11
12 <!-- Declare an instance -->
13 <instance component="annotationTester" />
14 <instance
15 component="org.apache.felix.ipojo.handler.properties.example.PropertiesTester"
16 name="i1">
17 <property name="properties.file"
18 value="props\properties-i1.txt" />
19 </instance>
20
21</ipojo>