Chapter 24. Declarative Services Reference

Chapter 15, “Declarative Services,” introduced DS and the common usage scenarios; this chapter dives deeply into the component XML schema to provide you with a better understanding of how to use DS and how to work with its component lifecycle. In particular, we

• Detail the Declarative Services XML schema v1.1.0, which is used to describe DS components

• Discuss the DS component lifecycle and how components interact with the dynamic changes of the OSGi service model

24.1 Component XML Schema v1.1.0

The element structure of a DS component XML document is relatively simple. Every DS component has an implementation class and may optionally define properties and identify services it references and provides. ...

Get OSGi and Equinox now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.