Package | Description |
---|---|
org.glassfish.hk2.api | |
org.glassfish.hk2.api.messaging | |
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 |
DescriptorFileFinder
Implementations of this interface allow the customization of
how hk2 inhabitant files are found.
|
interface |
DynamicConfigurationListener
A service that listens for dynamic configuration changes.
|
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 |
ImmediateController
This service is advertised when the Immediate service is put into the
registry.
|
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 |
InstantiationService
This service is used to get information about
the creation of a service from an
implementation of
Factory . |
interface |
InterceptionService
This service is implemented in order to configure
interceptors on methods or constructors provided by
hk2 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 |
TopicDistributionService
This service is responsible for distributing messages to Topic subscribers
|
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. |
interface |
ImmediateErrorHandler
Implementations of this service will be called whenever
an Immediate scoped service fails
|
Copyright © 2009–2019 Oracle Corporation. All rights reserved.