osgi.iPOJOServiceRequester.1.0.14.source-code.metadata.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iPOJOServiceRequester Show documentation
Show all versions of iPOJOServiceRequester Show documentation
Sample of requester using iPOJO
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <ipojo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/1.8.0/core.xsd" xmlns="org.apache.felix.ipojo"> <!-- define the component dependencies and life cycle callbacks --> <component classname="fr.velossity.sample.device.impl.Requester" name="requesterComponent" immediate="true"> <!-- declare the dependency to 0..* providers --> <requires aggregate="true" optional="false"> <callback type="bind" method="addProvider" /> <callback type="unbind" method="removeProvider" /> </requires> </component> <!-- declare one instance of the requesterComponent at runtime --> <instance component="requesterComponent" name="requester"> </instance> </ipojo>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy