A quick note: I was able to make this work (with some metadata changes) using
FileInstall, so my first question is: is this at all possible without
FileInstall.
New metadata.xml:
<?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/CURRENT/core.xsd"
xmlns="org.apache.felix.ipojo">
<component classname="com.epam.osgiapache.pricing.PricingService">
<requires field="vatservice" />
<provides>
<property name="callcount" field="callCount" />
</provides>
<callback transition="validate" method="start" />
<callback transition="invalidate" method="stop" />
<properties propagation="true">
<property name="callcount" field="callCount" />
</properties>
</component>
<instance component="com.epam.osgiapache.pricing.PricingService">
<property name="callcount" value="0" />
<property name="managed.service.pid"
value="com.epam.osgiapache.pricing"/>
</instance>
</ipojo>
--
View this message in context:
http://old.nabble.com/Configuring-an-iPOJO-on-the-web-console-tp27861909p27862818.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]