|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
Habitat.
See:
Description
| Interface Summary | |
|---|---|
| ContextualFactory<T> | Extension to the simple Factory that supports contextual injection. |
| Creator<T> | Encapsulates how to create an object. |
| Enableable | Contract used for enabling/disabling a service, and querying whether it is currently enabled. |
| Factory<T> | Hook to create/obtain an instance of a component from somewhere, instead of letting the auto-depends create it via the constructor. |
| Habitat.NotifyCall | |
| HabitatFactory | Contract responsible for habitat creation. |
| HabitatListener | For Listening to the Habitat. |
| Inhabitant<T> | Represents a component in the world of Habitat. |
| InhabitantActivator | Contract for handling the activation and releasing of an inhabitant. |
| InhabitantFilter | Contract used to determine if an inhabitant matches some criteria determined by the implementation. |
| InhabitantListener | For Listening to an Inhabitant. |
| InhabitantProviderInterceptor | A hook for providers to implement in order to extend or redefine
the inhabitant Hk2 will incorporate into the Habitat. |
| InhabitantRequested | Services implementation may require access to the inhabitant object wrapping them. |
| InhabitantSorter | Contract for sorting inhabitants. |
| InhabitantsParserFactory | |
| InhabitantTracker | Tracks an inhabitant, or set of inhabitants. |
| InhabitantTracker.Callback | The callback is called when there is an event changing one of the tracked inhabitants. |
| InhabitantTrackerContext | The filter that is passed to the InhabitantTracker creation. |
| Injectable | A resource that can be injected into a component might optionally want to be notified of such injection. |
| InjectionPoint | Used to describe the injection point and context of the injection. |
| PostConstruct | Compatibility class for PostConstruct |
| PreDestroy | Compatibility class for the PreDestroy interface |
| RunLevelListener | Implementations of RunLevelService are encouraged to use this contract for publishing RunLevel events. |
| RunLevelService<T> | Implementations of this contract are responsible for orchestration lifecycle events (i.e., start levels) in Hk2. |
| RunLevelState<T> | Holds the state(s) for a particular RunLevelService. |
| ServiceContext | Information about a service. |
| SimpleServiceLocator | Provide a simple abstraction for getting services by contract or type. |
| Class Summary | |
|---|---|
| AbstractRunLevelService<T> | A default implementation for the RunLevelService that component
provides can derive from to provide their own component-related lifecycle. |
| AsyncWaiter | Helper class that will manage all AsyncPostConstruct services
and Futures for completion. |
| Constants | Common metadata properties used by the inhabitant / habitat. |
| ContractLocatorImpl<T> | Implementation of the ContractLocator interface. |
| Creators | Creator factory. |
| DescriptorImpl | A simple Descriptor. |
| Habitat | A set of templates that constitute a world of objects. |
| HabitatListenerWeakProxy | A proxy where the underlying HabitatListener is held as a weak proxy and is automatically removed from the habitat if the proxy is GC'ed. |
| HK2ProviderImpl | Default Hk2 Provider based on the habitat. |
| Inhabitants | Deprecated. Use Inhabitants instead. |
| InhabitantTrackerContextBuilder | Builder for constructing InhabitantTrackerContext types. |
| InhabitantTrackerContextBuilder.AlteredLdapMatcherFilter | |
| InhabitantTrackerContextImpl | Default implementation of InhabitantTrackerContext. |
| InjectionManager | InjectionManager is responsible for injecting resources into a component. |
| InjectionManager.InjectContext | |
| MultiMap<K,V> | Map from a key to multiple values. |
| MultiThreadedInhabitantActivator | A simple multi-threaded based InhabitantActivator |
| PerLookup | Compatibility class for PerLookup scope |
| Reference<T> | A Simple Reference holder. |
| Scope | |
| Singleton | Compatibility class for the Singleton scope. |
| Enum Summary | |
|---|---|
| HabitatListener.EventType | |
| InhabitantListener.EventType | |
| Exception Summary | |
|---|---|
| ComponentException | Exception thrown when a component's dependency is not satisfied at the time the component is expected to be put in commission. |
| RunLevelException | Exception related to the operations of the RunLevelService. |
| UnsatisfiedDependencyException | Exception thrown by the injection manager when a dependency is not satisfied when performing injection. |
Primary API surface of HK2. Start with Habitat.
This package defines classes and interfaces that constitute the public contract of HK2, together with the annotations package.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||