Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Service Provider properties

Note: for backwards compatibility old values marked below are still supported.

Property Name

Data Type

Example

Description

service.exported.interfaces
(previously:osgi.remote.interfaces)

String

org.example.BarService,org.example.FooService *

Denotes the interfaces to be exposed remotely. This is a comma-separated list of fully qualified Java interfaces that should be made available remotely. A special value of * can be provided meaning that all of the interfaces passed to the BundleContext.registerService() call are suitable for remoting.

service.exported.configs (previously:osgi.remote.configuration.type)

String pojo

org.apache.cxf.ws

Specifies the mechanism for configuring the service exposure. Possible values:

  • pojo configuration is driven from POJOs (Plain Old Java Objects) registered as Services with the OSGi service registryorg.apache.cxf.ws (previously: pojo) the OSGi Service is exposed as a Web Service.
  • wsdl configuration driven from WSDL

...

org.apache.cxf.ws configuration type

When the service.exported.configs=org.apache.cxf.ws (or osgi.remote.configuration.type=pojo) property is specified, the following properties may also be specified.

Property Name

Data Type

Example

Description

org.apache.cxf.ws.address
(previously:osgi.remote.configuration.pojo.address)

String

{{

http://localhost:9090/greeter

}}

The address at which the service with be made available remotely. If this property is not specified, this defaults to {{

http://localhost:9000/fully/qualified/ClassName

}}.

org.apache.cxf.ws.httpservice.context
(previously:osgi.remote.configuration.pojo.httpservice.context)

String

/auction

When this property is specified, the OSGi HTTP Service is used to expose the service, rather than a dedicated Jetty HTTP Server. This property doesn't allow the specification of a port number, as this is provided by the HTTP Service. The Distributed OSGi distributions come with Pax-Web, for which configuration information can be found here:

http://wiki.ops4j.org/display/paxweb/Configuration

, however other OSGi HTTP Service implementations are potentially configured differently.

...

Property Name

Data Type

Example

Description

osgi service.remote imported

boolean

true

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.

...