GlassFish HK2

From Wikipedia, the free encyclopedia

HK2 (Hundred-Kilobyte Kernel) is a light-weight and dynamic dependency injection framework and is a part of the GlassFish Application Server.

Stable release
3.1.1 / July 4, 2024; 20 months ago (2024-07-04)
Available inJava 6 or Higher
Quick facts HK2, Developer ...
HK2
DeveloperEclipse Foundation
Stable release
3.1.1 / July 4, 2024; 20 months ago (2024-07-04)
Operating systemCross-platform
Available inJava 6 or Higher
TypeDependency Injection Kernel
LicenseEclipse Public License 2.0 or GPL v2 w/Classpath exception
Websiteeclipse-ee4j.github.io/glassfish-hk2/ Edit this on Wikidata
Repository
Close

HK2 complies with JSR 330 (Dependency Injection for Java). It has useful utilities for marking classes as services and interfaces as contracts.[1]

Some of the features of HK2 DI Kernel are

  • Custom scopes
  • use of proxies
  • Custom injection resolution
  • Assisted injection
  • J-I-T injection resolution
  • Custom validation and security
  • Run Level Services[1]

References

Related Articles

Wikiwand AI