Registry / dependency-injection / geronimo-jcdi-1-0-spec

geronimo-jcdi-1-0-spec

JSON →
library1.1javamavenunverified

Apache Geronimo implementation of the JSR-299 Context and Dependency Injection for the Java EE Platform.

<dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jcdi_1.0_spec</artifactId> <version>1.1</version> </dependency>
INSTALL
IMPORT
SIG · GERONIMO-JCDI-1-0-
G
geronimo-jcdi-1-0-spec
dependency-injectionjavav1.1
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.

Default
javax.enterprise.inject.Default

Injects a default bean using CDI annotations.

import javax.enterprise.inject.Default; import javax.inject.Inject; public class MyService { @Inject @Default private MyRepository repository; }
Debug
Known issues
breakingThis is an older specification; consider using Jakarta CDI for modern Java EE or Jakarta EE projects.
fix
Migrate to jakarta.enterprise.inject.Default for Jakarta EE 9+.
affects: >=1.1
Upgrade
Version history
1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
43 hits · last 30 days
node
34
OpenAI (training)
2
Resources
geronimo-jcdi-1-0-spec — mvn dependency:get geronimo-jcdi-1-0-spec · libregistry