OSGI-INF.CalculatorImpl.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0" name="CalculatorImpl"> <implementation class="org.ops4j.pax.exam.sample8.ds.CalculatorImpl" /> <service> <provide interface="org.ops4j.pax.exam.sample8.ds.Calculator" /> </service> <reference bind="setAddition" unbind="unsetAddition" cardinality="1..1" interface="org.ops4j.pax.exam.sample8.ds.BinaryOperation" name="Addition" policy="static" /> </scr:component>