See: Description
| Annotation Type | Description |
|---|---|
| Contract |
Marker annotation to allow implementations to be discovered from
the contract they implement.
|
| ContractsProvided |
An explicit list of contracts provided.
|
| Index |
Marks the index property of the
Contract annotations. |
| InhabitantAnnotation |
Meta-annotation indicating that the annotation designates
a resident service of a
org.glassfish.hk2.Services. |
| Optional |
Marker annotation indicating that an instance variable or method marked with
Inject
is not required to be present at run-time. |
| Service |
Marker interface for service implementation.
|
HK2 modules primarily interact with HK2 by using these annotations.
Copyright © 2013 Oracle Corporation. All Rights Reserved.