|
Interface Summary |
| Binder<T> |
A binder instance can be used to customize a binding
by providing a name for the bound service. |
| BinderFactory |
Factory for adding services instances to a Services. |
| Binding<T> |
A Binding represents a registered entry in the HK2 Services
registry. |
| Context |
Used by Binding to describe how the Binding's Provider will be used. |
| ContractLocator<T> |
Provides a means to locate services in the HK2 services registry by
contract. |
| Descriptor |
A Descriptor is a bean-like structure that describes a service
declaration in HK2. |
| DynamicBinderFactory |
Sub interfaces of the BinderFactory to allow dynamic registration
of services. |
| Factory<T> |
Provides an instance of T either by creating a new one at each request
or by returning an existing one. |
| Locator |
This contract provides the starting point for querying HK2's
backing service registry either by contract (e.g., classes
annotated with @Contract) or by concrete service type
(e.g., classes annotated with @Service). |
| ManagedComponentProvider<T> |
A ManagedComponentProvider is one in which its backing
component that it provides can either be in an active or inactive
state. |
| Module |
A module defines the binding for a Services instance. |
| MultiMap<K,V> |
A read-nly Map from a key to multiple values. |
| NamedBinder<U> |
Provides a means to more fully describe a binding that has already been
named, or where the name has been assumed to be left blank. |
| PostConstruct |
Classes implementing this interface register an interest in
being notified when the instance has been created and the
component is about to be place into commission. |
| PreDestroy |
Components implementing this interface registers an interest
in being notified when they are about to be decommissioned. |
| Provider<T> |
Extends the Factory contract, offering the ability to
obtain the runtime Descriptor describing the
attributes of the registered component/service, and
provides a means to access the class type instance. |
| Providers<T> |
This contract provides a means to access runtime component providers. |
| ResolvedBinder<T> |
This contract is used to apply scope to an otherwise described / resolved
Binder. |
| Scope |
|
| ScopeInstance |
A particular instantiation of a Scope. |
| ServiceLocator<T> |
A ServiceLocator provides runtime access to a particular
service in HK2. |
| Services |
Services is the registry for HK2 services. |