Registry / dependency-injection / javax-inject

javax-inject

JSON →
library1javamavenunverified

Provides the javax.inject API for dependency injection in Java.

<dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> </dependency>
INSTALL
IMPORT
SIG · JAVAX-INJECT
J
javax-inject
dependency-injectionjavav1
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.

Inject
javax.inject.Inject

Minimal usage of @Inject annotation for dependency injection.

import javax.inject.Inject; public class Example { @Inject private Service service; }
Debug
Known issues
breakingjavax.inject is deprecated in favor of jakarta.inject for Java EE 9+.
fix
Use jakarta.inject for new projects; migrate existing code.
affects: >=1
Upgrade
Version history
1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
32
Resources
javax-inject — mvn dependency:get javax-inject · libregistry