{"id":75573,"library":"guice-bridge","title":"HK2 Guice Bridge","description":"Bridge between Google Guice and HK2 dependency injection frameworks.","status":"active","version":"4.0.1","language":"java","source_language":null,"source_url":"https://github.com/eclipse-ee4j/glassfish-hk2","tags":["dependency-injection","guice","hk2","bridge"],"install":[{"cmd":"<dependency>\n  <groupId>org.glassfish.hk2</groupId>\n  <artifactId>guice-bridge</artifactId>\n  <version>4.0.1</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.glassfish.hk2:guice-bridge:4.0.1'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"GuiceBridge","correct":"org.glassfish.hk2.guicebridge.GuiceBridge"}],"quickstart":{"code":"import org.glassfish.hk2.guicebridge.GuiceBridge;\nimport org.glassfish.hk2.api.ServiceLocator;\n\nGuiceBridge bridge = new GuiceBridge();\nbridge.initializeGuiceBridge(serviceLocator);","lang":"java","description":"Initialize the Guice bridge with an HK2 ServiceLocator."},"warnings":[{"fix":"Ensure Guice version matches the bridge version; check HK2 documentation.","message":"Version 4.0.1 may have compatibility issues with newer Guice versions.","severity":"gotcha","affected_versions":"4.0.1"}],"env_vars":null,"search_vec":"'bridg':3,4,18 'depend':10,14 'dependency-inject':13 'framework':12 'googl':6 'guic':2,7,16 'hk2':1,9,17 'inject':11,15","created_at":"2026-06-17T19:18:24.449480+00:00","updated_at":"2026-06-17T19:18:24.449480+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/eclipse-ee4j/glassfish-hk2","github":"https://github.com/eclipse-ee4j/glassfish-hk2","docs":"https://appdoc.app/artifact/org.glassfish.hk2/guice-bridge/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["dependency-injection"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}