Versions Compared

Key

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

Using Annotations

Dependency Manager provides a compact and versatile java API, allowing to declaratively and programmatically register, acquire, and manage dynamic OSGi services. But since recently, support for annotations has been introduced in Dependency Manager, and you can also manage your service components, and their dynamic dependencies using Java 5 annotations.

Table of Contents

  • Quick Tour helps you with the basic concepts using a SpellChecker sample code.
  • Reference Guide a full reference guide to lookup all annotation details.
  • Common Usages Covers some common usage scenarios using annotations
  • Compiling explains how to build annotated bundle using Maven, Bnd, or Ant.
  • Testing shows how you can write junit tests using Pax Exams..