GlassFish HK2
   HOME

TheInfoList



OR:

HK2 ''(Hundred-Kilobyte Kernel)'' is a light-weight and dynamic
dependency injection In software engineering, dependency injection is a programming technique in which an object or function receives other objects or functions that it requires, as opposed to creating them internally. Dependency injection aims to separate the con ...
framework and is a part of the
GlassFish GlassFish is an open-source Jakarta EE platform application server project started by Sun Microsystems, then sponsored by Oracle Corporation, and now living at the Eclipse Foundation and supported by OmniFish, Fujitsu and Payara. The support ...
Application Server. HK2 complies with JSR 330 (''Dependency Injection for Java''). It has useful utilities for marking classes as services and interfaces as contracts. 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


References


External links

* {{GlassFish Java enterprise platform Software frameworks