请输入您要查询的百科知识:

 

词条 HK2 DI Kernel
释义

  1. References

{{Infobox Software
| name = HK2
| logo =
| screenshot =
| caption =
| developer = Oracle Corporation
| released =
| latest release version = 2.4.0
| latest release date =
| latest preview version =
| latest preview date =
| operating system = Cross-platform
| language = Java 6 or Higher
| genre = 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

1. ^{{Cite web|url=https://javaee.github.io/hk2/|title=HK2 - Dependency Injection Kernel|website=javaee.github.io|language=en|access-date=2017-11-19}}
{{GlassFish}}

1 : Java enterprise platform

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 8:50:15