|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| Builder<T> | Simple builder contract |
| Annotation Types Summary | |
|---|---|
| Contract | Marker annotation to allow implementations to be discovered from the contract they implement. |
| ContractProvided | A service provider provides a service implementation, however, the provided service interface is not tagged with @Contract (a jdk interface for instance), therefore, it is specified through this annotation. |
| Decorate | Decorates a Method with all the annotation which types are
specified using the Decorate.with(). |
| Factory | Indicates that the object should be created by using the given factory component, instead of calling the constructor. |
| FactoryFor | Indicates that the component serves as a factory for the specified type(s). |
| Immediate | The RunLevel that indicates immediate activation
for the default run level scope. |
| Index | Marks the index property of the Contract annotations. |
| InhabitantAnnotation | Meta-annotation indicating that the annotation designates
a resident service of a Services. |
| InhabitantMetadata | Meta-annotation to make annotation values readable as org.glassfish.hk2.Descriptor#metadata(). |
| Inject | Annotation to define a required resource for a component. |
| Multiple | Annotates an annotation which value is an array of inhabitant annotations
InhabitantAnnotation |
| Optional | Marker annotation indicating that an instance variable or method marked with Inject
is not required to be present at run-time. |
| Priority | Deprecated. Not fully supported in Hk2 |
| RunLevel | Defines a run/start level. |
| Scoped | Indicates the scope that this managed object is tied to. |
| Service | Marker interface for service implementation. |
| ServiceProvider | Denotes the service provider implementation. |
HK2 annotations that mark components and their required dependencies. Primary API surface of HK2.
HK2 modules primarily interact with HK2 by using these annotations.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||