tree: 86e87666d04ce3ba97e7a6244bcf82677d851918 [path history] [tgz]
  2. bnd.bnd
  3. pom.xml
  4. src/

CXF DOSGi common

Handles communication with the HttpService and Intents.


In case a custom http context is used the providers will register a custom servlet. Besides this the HttpServiceManager also handles the creation of a default address if none is given and the conversion from the relative address specified on the service property to a fully qualified address.

Config pid org.apache.cxf.dosgi.http

httpBaseStart of the address like http://myserver:8181
cxfServletAlias/cxfName of the cxf servlet alias

The absolute address of a service is determined by :

[httpBase][cxfservletAlias][relative address]


The IntentManager service tracks intent services and allows to apply these to a client or endpoint.

An intent is marked by the service property org.apache.cxf.dosgi.IntentName or intentName. The value of this property represents the name of the intent that the user can specify on his service to refer to the intent.

An intent can be of the following types.


  • org.apache.cxf.feature.Feature
  • org.apache.cxf.databinding.DataBinding
  • org.apache.cxf.binding.BindingConfiguration
  • Callable<List<Object>>

The Callable allows one to publish an intent service that returns a List of intents, so several intents can be grouped with one name.