<ipojo xmlns:props="example.handler.properties"> | |
<!-- Declare a component using your handler --> | |
<component | |
classname="org.apache.felix.ipojo.handler.properties.example.PropertiesTester"> | |
<callback transition="validate" method="start" /> | |
<callback transition="invalidate" method="stop" /> | |
<!-- declare our handler --> | |
<props:properties file="props\properties.txt" /> | |
</component> | |
<!-- Declare an instance --> | |
<instance component="annotationTester" /> | |
<instance | |
component="org.apache.felix.ipojo.handler.properties.example.PropertiesTester" | |
name="i1"> | |
<property name="properties.file" | |
value="props\properties-i1.txt" /> | |
</instance> | |
</ipojo> |