...
Property Name | Data Type | Example | Description |
---|---|---|---|
osgi.remote | boolean | | This property is always set on a service proxy, indicating that the real service is remote. |
org.apache.cxf.remote.dsw.client | String |
| This property is set to the bundle name of the CXF-DOSGi implementation and can be used to find client side proxies created by the CXF DOSGi implementation. |
The Intent Map
TODO
remote-services.xml
files
The CXF DOSGi implementation provides a DSW (Distribution Software) implementation of Distributed OSGi. It is compatible with any Distributed OSGi Discovery implementation in order to discover remote services dynamically.
...
No Format |
---|
<service-descriptions xmlns="http://www.osgi.org/xmlns/sd/v1.0.0"> <service-description> <provide interface="org.apache.cxf.dosgi.samples.greeter.GreeterService" /> <property name="osgi.remote.interfaces">*</property> <property name="osgi.remote.configuration.type">pojo</property> <property name="osgi.remote.configuration.pojo.address">http://localhost:9090/greeter</property> </service-description> <!-- further service-description tags are allowed here --> </service-descriptions> |
Alternative locations
By default all *.xml
files in the OSGI-INF/remote-service location are considered, this location can be changed by setting the Remote-Service
header in the bundle manifest, e.g.
No Format |
---|
Remote-Service: META-INF/osgi |