Interface | Description |
---|---|
ActiveDescriptorBuilder |
The active descriptor build is for building up a
non-reified ActiveDescriptor.
|
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. |
DescriptorBuilder |
This is an object that uses the Builder pattern
in order to generate a Descriptor (for binding) or
a Filter (for searching).
|
ImmediateErrorHandler |
Implementations of this service will be called whenever
an Immediate scoped service fails
|
Class | Description |
---|---|
AbstractActiveDescriptor<T> |
This class can be used as a starting point for those writing their own
ActiveDescriptor.
|
AliasDescriptor<T> |
An active descriptor class that serves as an alias for another descriptor.
|
BuilderHelper |
This class is used to generate DescriptorBuilders to be used
as a simple mechanism to create a Filter or Descriptor.
|
ClassLoaderPostProcessor |
This is a
PopulatorPostProcessor that adds an HK2Loader
based on a ClassLoader. |
ClasspathDescriptorFileFinder |
This is an implementation of
DescriptorFileFinder that
uses a particular classloader in order to find descriptor files. |
ContextualInput<T> |
Used by several contexts for keeping the inputs of
Context.findOrCreate(ActiveDescriptor, ServiceHandle) . |
DescriptorImpl |
The implementation of the descriptor itself, with the
bonus of being externalizable, and having writeable fields
|
DuplicatePostProcessor |
This post-processor removes duplicate descriptors from the
set of descriptors being added to the service registry.
|
EnableLookupExceptionsModule |
This module can be used to enable exceptions to be
thrown from getService API when a descriptor throws
an exception during reification or other errors.
|
FactoryDescriptorsImpl |
This is an implementation of FactoryDescriptors that can be
used by hk2 uses when creating descriptors that describe
a
Factory |
HK2LoaderImpl |
This is an implementation of an
HK2Loader that uses
a given classloader |
ImmediateContext | |
ImmediateScopeModule |
This module can be used to enable the
Immediate scope
feature. |
InheritableThreadScopeModule |
This module can be used to enable the
InheritableThread scope
feature. |
InjecteeImpl |
This is a writeable version of the Injectee interface.
|
MethodParameterImpl |
An implementation of
MethodParameter that
has immutable position and value |
NamedImpl |
This is an implementation of the
Named annotation. |
OrFilter |
Creates a filter that matches if at least one
of the sub-filters is a match.
|
PerThreadScopeModule |
This module can be used to enable the
PerThread scope
feature. |
RethrowErrorService |
This is an implementation of
ErrorService that simply rethrows
the exception caught. |
ServiceLocatorUtilities |
This is a set of useful utilities for working with
ServiceLocator . |
UnqualifiedImpl |
This is an implementation of
Unqualified . |
Enum | Description |
---|---|
DuplicatePostProcessorMode |
The mode of the duplicate post processor
|
Stub.Type |
Annotation Type | Description |
---|---|
Stub |
When this annotation is placed on an abstract class the methods of
the class that are abstract will be generated into a subclass by
the hk2-metadata-generator along with an empty
Service annotation |
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.