Modifier and Type | Interface and Description |
---|---|
interface |
FooContract
Empty contract
|
Modifier and Type | Interface and Description |
---|---|
interface |
ImportPolicy
Modules that wish to programmatically control their list of imports can
implement this interface.
|
interface |
LifecyclePolicy
Modules that wish to invoke special logic when it is loaded, started
or stopped should implement this interface.
|
interface |
ModulesRegistry |
Modifier and Type | Interface and Description |
---|---|
interface |
ModuleStartup
Interface server startup need to implement
|
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 |
ConfigPopulator |
Modifier and Type | Class and Description |
---|---|
interface |
RunLevel
Defines a run/start level.
|
interface |
RunLevelController
Implementations of this contract are responsible for orchestration
lifecycle events (i.e., start levels) in Hk2.
|
interface |
RunLevelListener
Implementations of RunLevelController should use this contract for publishing
RunLevel events.
|
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. |
Modifier and Type | Interface and Description |
---|---|
interface |
GuiceIntoHK2Bridge
Guice Bridge
|
Copyright © 2017 Oracle Corporation. All rights reserved.