GlassFish HK2
Developer(s) | Oracle Corporation |
---|---|
Stable release | 2.4.0 |
Repository |
|
Operating system | Cross-platform |
Available in | Java 6 or Higher |
Type | Dependency Injection Kernel |
License | CDDL version 1.0 and GPL v2 license |
Website | https://javaee.github.io/hk2/ |
HK2 (Hundred-Kilobyte Kernel) is a light-weight and dynamic dependency injection framework and is a part of the GlassFish Application Server.
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
- ^ a b "HK2 - Dependency Injection Kernel". javaee.github.io. Retrieved 2017-11-19.
- v
- t
- e
GlassFish Application Server Stack
- GlassFish
- Samples
- Grizzly
- Mojarra
- Metro
- WSIT
- Jersey
- OpenMQ
- SailFin
- Shoal
- HK2
- JSP
- Expression Language
- JSTL
- Faces
- Templates
- WoodStock
- Phobos
- WebSockets
- LRWP in Java
- Hudson
- Japex
- OpenInstaller
- IDE plugins
- WS Monitor
- License tools