Package org.jvnet.hk2.annotations

HK2 annotations that mark components and their required dependencies. Primary API surface of HK2.

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.
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).
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
Priority Deprecated. Not current supported in Hk2
RunLevel Defines the notion of a run level a la Unix.
Scoped Indicates the scope that this managed object is tied to.
Service Marker interface for service implementation.
ServiceProvider Denotes the service provider implementation.
 

Package org.jvnet.hk2.annotations Description

HK2 annotations that mark components and their required dependencies. Primary API surface of HK2.

HK2 modules primarily interact with HK2 by using these annotations.



Copyright © 2011 Oracle Corporation. All Rights Reserved.