Module org.glassfish.hk2.api
Package org.jvnet.hk2.annotations
package org.jvnet.hk2.annotations
HK2 annotations that mark components and their required dependencies. Primary API surface of HK2.
HK2 modules primarily interact with HK2 by using these annotations.
-
Annotation InterfacesClassDescriptionThis annotation is used by HK2 during automatic class analysis to indicate that a class or interface should be included in the list of contracts for a serviceAn explicit list of contracts provided.Meta-annotation indicating that the annotation designates a resident service of a
ServiceLocator
.Marker annotation indicating that an instance variable or method marked withInject
is not required to be present at run-time.Annotation placed on classes that are to be automatically added to an hk2ServiceLocator
.