Skip to end of metadata
Go to start of metadata

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 shall evolve into an implementation of this forthcoming standard.

Latest News

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

Loading

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

Loading

Pax CDI 0.9.0 Released

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

This release introduces new CDI scopes @BundleScoped and @PrototypeScoped for OSGi service provider beans, indicating the scope of the corresponding service in the OSGi registry. The default scope for these beans is @SingletonScoped (previously named @ServiceScoped).

@PrototypeScoped can only be used on OSGi 6.0 or higher. A runtime exception will be thrown on older frameworks. The minimum version required at runtime remains OSGi 4.3.

Service dependency handling has been improved to avoid blocking on intra-bundle dependencies.

In addition, there are many dependency upgrades and some more bug fixes.

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

Pax CDI artifacts are available from Maven Central.

Changes since 0.8.0

Loading
Showing 20 out of 23 issues Refresh

  • No labels