Registry / dependency-injection / hk2-api

hk2-api

JSON →
library4.0.0javamavenunverified

HK2 API module providing core interfaces for the HK2 dependency injection framework.

<dependency> <groupId>org.glassfish.hk2</groupId> <artifactId>hk2-api</artifactId> <version>4.0.0</version> </dependency>
INSTALL
IMPORT
SIG · HK2-API
H
hk2-api
dependency-injectionjavav4.0.0
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.

ServiceLocator
org.glassfish.hk2.api.ServiceLocator

Creates and populates a HK2 ServiceLocator.

import org.glassfish.hk2.api.ServiceLocator; import org.glassfish.hk2.utilities.ServiceLocatorUtilities; public class Main { public static void main(String[] args) { ServiceLocator locator = ServiceLocatorUtilities.createAndPopulateServiceLocator(); System.out.println("ServiceLocator created: " + locator); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Resources
hk2-api — mvn dependency:get hk2-api · libregistry