Time for action - writing the iPOJO meta.xml

With most of the iPOJO configuration annotated into the class, the XML configuration only holds the instance information. Create the meta.xml file under src/main/ipojo/ with the following contents:

<ipojo
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="org.apache.felix.ipojo
http://felix.apache.org/ipojo/schemas/CURRENT/core.xsd"
xmlns="org.apache.felix.ipojo">
<instance
component="BookshelfServiceProxy"
name="bookshelf.service.tui" />
</ipojo>

Next, we'll update the POM and take the updated bundle for a short ride.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset