|
Interface Summary |
| AsyncPostConstruct |
Some service's PostConstruct may optionally spawn internal
initializations on separate threads. |
| 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 single registered entry in the HK2 Services
registry that provides a facility to get to contextual provider instances. |
| Bindings |
This represents the result of dynamically binding [services] to
the underlying Services instance. |
| 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> |
Similar to the Factory contract, providing a means to access the
class type instance. |
| Providers<T> |
This contract provides a means to access runtime component providers. |
| Releasable |
Represents something that can be released. |
| ResolvedBinder<T> |
This contract is used to apply scope to an otherwise described / resolved
Binder. |
| RunLevelDefaultScope |
Marker interface signifying the default RunLevel scope. |
| 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. |