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
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. ...