Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 1 | <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>
|