Contexts and Dependency Injection for OSGi Applications
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.