THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<beans xmlns:osgi="..."> <osgi:service interface="org.apache.cxf.dosgi.samples.springdm.DinnerService"> <osgi:service-properties> <entry key="osgiservice.remoteexported.interfaces" value="*" /> </osgi:service-properties> <bean class="org.apache.cxf.dosgi.samples.springdm.impl.DinnerServiceImpl" /> </osgi:service> </beans> |
Unlike in the Greeter demo osgi.remote.configuration...
properties are not set in the configuration, this means that the service is exposed on the default location of http://localhost:9000/org/apache/cxf/dosgi/samples/springdm/DinnerService
. The default location is based on the interface name of the service being remoted.
...