Registry / dependency-injection / guice-bridge

guice-bridge

JSON →
library4.0.1javamavenunverified

Bridge between Google Guice and HK2 dependency injection frameworks.

<dependency> <groupId>org.glassfish.hk2</groupId> <artifactId>guice-bridge</artifactId> <version>4.0.1</version> </dependency>
INSTALL
IMPORT
SIG · GUICE-BRIDGE
G
guice-bridge
dependency-injectionjavav4.0.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.

GuiceBridge
org.glassfish.hk2.guicebridge.GuiceBridge

Initialize the Guice bridge with an HK2 ServiceLocator.

import org.glassfish.hk2.guicebridge.GuiceBridge; import org.glassfish.hk2.api.ServiceLocator; GuiceBridge bridge = new GuiceBridge(); bridge.initializeGuiceBridge(serviceLocator);
Debug
Known issues
gotchaVersion 4.0.1 may have compatibility issues with newer Guice versions.
fix
Ensure Guice version matches the bridge version; check HK2 documentation.
affects: 4.0.1
Upgrade
Version history
4.0.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
OpenAI (training)
1
Resources
guice-bridge — mvn dependency:get guice-bridge · libregistry