Pax CDI

Contexts and Dependency Injection for OSGi Applications

Mission Statement

  • Pax CDI unites two powerful programming models, Contexts and Dependency Injection (CDI) from Java EE 6 and dynamic modules and services from OSGi.
  • OSGi users can profit from annotation-based dependency injection, interceptors and portable extensions brought by CDI without losing the strict modularity and the service-oriented design of OSGi.
  • CDI users can profit from the dynamics and the run-time extensibility of OSGi, accessing OSGi framework features through CDI beans and events.
  • Pax CDI is not tied to any given CDI or OSGi framework implementation.
  • Any OSGi bundle and any CDI portable extension can be used with Pax CDI.
  • Pax CDI keeps in touch with the OSGi Alliance CDI Integration proposal and may evolve into an implementation of this forthcoming standard.

Status

1.x/master branch

  • Pax CDI 1.x branch provides CDI 1.2 support and compatibility with Pax-Web 6.x branch.
  • Latest release is Pax CDI 1.0.0.RC2

0.x branch

  • Pax CDI 0.x branch provides CDI 1.0 and 1.1 support and compatibility with Pax-Web 4.x branch.
  • Latest release is Pax CDI 0.12

Latest News

Pax CDI 1.1.0 released

Pax CDI 1.1.0 has been released. That’s mostly alignment release. But since we’ve upgraded to ASM 7 / xbean 4.12, I decided to upgrade to version 1.1.0 instead of 1.0.1.

Here’s full Jira list:

key summary type created updated due assignee reporter priority status resolution
Loading...
Refresh

The Pax CDI team is happy to announce the release of OPS4J Pax CDI 0.11.0.

This release is mostly bug fixes allowing to use this Pax CDI version with most of Apache Karaf versions.

For more details on all changes, see the JIRA release notes below.

Pax CDI artifacts are available from Maven Central.

Changes since 0.10.0

type key summary
Loading...
Refresh

The Pax CDI team is happy to announce the release of OPS4J Pax CDI 0.10.0.

This release is mostly bug fixes, especially on the provided Apache Karaf features. This release also provides new deltaspike features and update to deltaspike 1.2.1.

For more details on all changes, see the JIRA release notes below.

Pax CDI artifacts are available from Maven Central.

Changes since 0.9.0

type key summary
Loading...
Refresh