Skip to content

Instantly share code, notes, and snippets.

@chriswhitcombe
Created December 17, 2011 16:56
Show Gist options
  • Save chriswhitcombe/1490724 to your computer and use it in GitHub Desktop.
Save chriswhitcombe/1490724 to your computer and use it in GitHub Desktop.
dOSGI Service
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" name="Reporting Service">
<implementation class="com.chriswhitcombe.reporting.impl.ReportingServiceImpl"/>
<property name="service.exported.interfaces" value="*" />
<property name="service.exported.configs" value="org.apache.cxf.ws" />
<property name="org.apache.cxf.ws.address" value="http://localhost:9000/reporting" />
<service>
<provide interface="com.chriswhitcombe.reporting.ReportingService"/>
</service>
</scr:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment