|
Interface Summary |
| ActiveDescriptor<T> |
An ActiveDescriptor contains information about a Descriptor after it has been reified. |
| Context<T> |
An implementation of this must be put into the system in order to
create contextual instances of services. |
| Descriptor |
A Descriptor is a bean-like structure that describes a service
declaration in HK2. |
| DynamicConfiguration |
This class is used to add Descriptors to a ServiceLocator
instance. |
| DynamicConfigurationService |
The dynamic configuration service is the source of DynamicConfiguration
instances, which can be used to bind and unbind entities into the system |
| ErrorInformation |
This class has information in it about the error that
has occurred |
| ErrorService |
This interface should be implemented by those who wish to be
notified of error conditions that occur within HK2. |
| Factory<T> |
This interface should be implemented in order to provide
a factory for another type. |
| FactoryDescriptors |
This is a convenience class that links together the factory descriptor as a factory
for another type and the factory as a service itself. |
| Filter |
This object is used to search for items
in the service registry |
| HK2Loader |
This class is responsible for loading classes, and different
implementations can be used for different descriptors. |
| IndexedFilter |
This filter can be used to limit the set of Descriptors
passed to the matches method. |
| Injectee |
An Injectee represents the point of injection. |
| InjectionResolver<T> |
This class allows users to provide a custom injection target for
any annotation (including @Inject). |
| InstanceLifecycleEvent |
This object contains information about a lifecycle
event. |
| InstanceLifecycleListener |
This processor is called for certain events in the lifecycle of instances
of services. |
| IterableProvider<T> |
This object can be injected rather than Provider or ExtendedProvider when
it is desired to iterate over more than one returned instance of the type. |
| JustInTimeInjectionResolver |
The JustInTimeInjectionResolver is called when an injection point
cannot find anything to inject. |
| 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. |
| ProxyCtl |
Every proxy generated by HK2 will implement this interface, which can be used to have finer
control on the behavior of the proxy |
| ServiceHandle<T> |
This service handle can be used to get a specific instance
of a service, and can be used to destroy that service as well |
| ServiceLocator |
ServiceLocator is the registry for HK2 services |
| SingleCache<T> |
This cache can be used in some circumstances when there can be only one
of a service. |
| ValidationInformation |
This object contains information about the validation
point. |
| ValidationService |
This service can be used to add validation points to Descriptors. |
| Validator |
This method is called when it determined that a type that is
annotated with a Validating annotation is to be injected into
any other class. |
|
Annotation Types Summary |
| Metadata |
This annotation marks a method of an annotation as providing a value that
should be placed into the metadata of the descriptor. |
| PerLookup |
PerLookup is the scope for objects that are created every time they are looked up. |
| PerThread |
PerThread is a scope that operates like Singleton scope, except on a per-thread basis. |
| Proxiable |
Scope annotations that are also marked with this
annotation are proxiable. |
| Rank |
This annotation is used to provide the initial rank of
a service marked with Service. |
| Self |
This annotation is placed on an injection point that is to be injected with the ActiveDescriptor that was used
to create the instance. |
| Unproxiable |
This annotation must go on a scope annotation in order to indicate
that no services from this scope may be proxied. |
| Unqualified |
An injection point can be annotated with @Unqualified if
it should only be injected with services that have no qualifiers
at all |
| UseProxy |
This annotation is used when automatically analyzing a class or a
{link Factory.provide() method to indicate that the descriptor
either should or should not use a proxy. |
| Visibility |
This annotation is used when automatically analyzing a class or a
{link Factory.provide() method to indicate that the descriptor
either should or should not have LOCAL visibility. |