Registry / dependency-injection / pax-cdi-api

pax-cdi-api

JSON →
library1.1.4javamavenunverified

Provides the API for Contexts and Dependency Injection (CDI) in OSGi applications.

<dependency> <groupId>org.ops4j.pax.cdi</groupId> <artifactId>pax-cdi-api</artifactId> <version>1.1.4</version> </dependency>
INSTALL
IMPORT
SIG · PAX-CDI-API
P
pax-cdi-api
dependency-injectionjavav1.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OsgiService
org.ops4j.pax.cdi.api.OsgiService

Injecting an OSGi service using Pax CDI.

import org.ops4j.pax.cdi.api.OsgiService; import javax.inject.Inject; public class MyComponent { @Inject @OsgiService private MyService service; }
Debug
Known issues
breakingRequires OSGi runtime with CDI support (e.g., Apache Karaf).
fix
Deploy in an OSGi container that supports Pax CDI.
affects: all
Upgrade
Version history
1.1.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
Resources
pax-cdi-api — mvn dependency:get pax-cdi-api · libregistry