| Package | Description |
|---|---|
| org.glassfish.hk2.api | |
| org.glassfish.hk2.utilities |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClassAnalyzer
When HK2 automatically analyzes a class to find the constructor, fields,
initializer methods and postConstruct and preDestroy methods it uses this
service to analyze the class.
|
interface |
Context<T>
An implementation of this must be put into the system in order to
create contextual instances of services.
|
interface |
DynamicConfigurationService
The dynamic configuration service is the source of
DynamicConfiguration
instances, which can be used to bind and unbind entities into the system |
interface |
ErrorService
This interface should be implemented by those who wish to be
notified of error conditions that occur within HK2.
|
interface |
Factory<T>
This interface should be implemented in order to provide
a factory for another type.
|
interface |
InjectionResolver<T>
This class allows users to provide a custom injection target for
any annotation (including @Inject).
|
interface |
InstanceLifecycleListener
This processor is called for certain events in the lifecycle of instances
of services.
|
interface |
JustInTimeInjectionResolver
The JustInTimeInjectionResolver is called when an injection point
cannot find anything to inject.
|
interface |
ServiceLocator
ServiceLocator is the registry for HK2 services
|
interface |
ValidationService
This service can be used to add validation points to Descriptors.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Binder
The binder is used in conjunction with the
ServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...)
method in order to add (or remove) services to a ServiceLocator. |
Copyright © 2013 Oracle Corporation. All Rights Reserved.