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 |
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 |
ConfigPopulator
Basic interface for populating a service locator with configuration data
|
Modifier and Type | Interface and Description |
---|---|
interface |
BeanDatabaseUpdateListener
This is a listener that is notified when changes are made to
the current
BeanDatabase |
interface |
Hub
The central repository of configuration objects in the system.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PropertyFileService
This service will read a java property file and add its contents
to the HK2 configuration hub.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DefaultTopicDistributionErrorService
When using the TopicDistributionService added with
ServiceLocatorUtilities.enableTopicDistribution(org.glassfish.hk2.api.ServiceLocator)
if a subscriber throws an exception this service will be called. |
Modifier and Type | Interface and Description |
---|---|
interface |
InterceptorOrderingService
This service can be used to modify, add or remove interceptors
to the set of interceptors that will be called on a Method
or Constructor in the default implementation of the
interception service.
|
Modifier and Type | Class and Description |
---|---|
class |
OperationContext<T extends Annotation>
The implementation of
Context for an Operation. |
interface |
OperationHandle<T extends Annotation>
This handle is used to associate or dis-associate threads with
Operations.
|
interface |
OperationManager
Manages HK2 operations, allowing the user to create new operations of a particular
type or discover the current set of active operations or find the current operation
on the current thread
|
Modifier and Type | Interface and Description |
---|---|
interface |
ProgressStartedListener
Instances of classes implementing this contract can be registered with HK2
to be informed when the system starts progressing to a new level, either
upward or downward
|
interface |
RunLevel
Defines a run/start level.
|
interface |
RunLevelController
A RunLevelContoller controls the current state of
services registered in the
RunLevel scope. |
interface |
RunLevelListener
Instances of classes implementing this contract can be registered with HK2
to be informed of events of RunLevelControllers.
|
interface |
Sorter
Contract for sorting descriptors for run level services.
|
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
|
Modifier and Type | Interface and Description |
---|---|
interface |
XmlHk2ConfigurationBean |
interface |
XmlService
This is the main service for parsing your XML files using some
pluggable parsing technology.
|
Modifier and Type | Interface and Description |
---|---|
interface |
All
Only elements allowed inside
|
interface |
Annotated
This type is extended by all types which allow annotation
other than
|
interface |
Annotation
Java class for anonymous complex type.
|
interface |
Any
Java class for anonymous complex type.
|
interface |
Appinfo
Java class for anonymous complex type.
|
interface |
Attribute
Java class for attribute complex type.
|
interface |
AttributeGroup
Java class for attributeGroup complex type.
|
interface |
AttributeGroupRef
Java class for attributeGroupRef complex type.
|
interface |
ComplexContent
Java class for anonymous complex type.
|
interface |
ComplexRestrictionType
Java class for complexRestrictionType complex type.
|
interface |
ComplexType
Java class for complexType complex type.
|
interface |
Documentation
Java class for anonymous complex type.
|
interface |
Element
The element element can be used either
at the top level to define an element-type binding globally,
or within a content model to either reference a globally-defined
element or type or declare an element-type binding locally.
|
interface |
ExplicitGroup
group type for the three kinds of group
|
interface |
ExtensionType
Java class for extensionType complex type.
|
interface |
Facet
Java class for facet complex type.
|
interface |
Field
Java class for anonymous complex type.
|
interface |
Group
group type for explicit groups, named top-level groups and
group references
|
interface |
GroupRef
Java class for groupRef complex type.
|
interface |
Import
Java class for anonymous complex type.
|
interface |
Include
Java class for anonymous complex type.
|
interface |
Keybase
Java class for keybase complex type.
|
interface |
Keyref
Java class for anonymous complex type.
|
interface |
List
itemType attribute and simpleType child are mutually
exclusive, but one or other is required
|
interface |
LocalComplexType
Java class for localComplexType complex type.
|
interface |
LocalElement
Java class for localElement complex type.
|
interface |
LocalSimpleType
Java class for localSimpleType complex type.
|
interface |
NamedAttributeGroup
Java class for namedAttributeGroup complex type.
|
interface |
NamedGroup
Java class for namedGroup complex type.
|
interface |
NarrowMaxMin
restricted max/min
|
interface |
NoFixedFacet
Java class for noFixedFacet complex type.
|
interface |
Notation
Java class for anonymous complex type.
|
interface |
NumFacet
Java class for numFacet complex type.
|
interface |
OpenAttrs
This type is extended by almost all schema types
to allow attributes from other namespaces to be
added to user schemas.
|
interface |
Pattern
Java class for anonymous complex type.
|
interface |
RealGroup
Java class for realGroup complex type.
|
interface |
Redefine
Java class for anonymous complex type.
|
interface |
Restriction
base attribute and simpleType child are mutually
exclusive, but one or other is required
|
interface |
RestrictionType
Java class for restrictionType complex type.
|
interface |
Schema
Java class for anonymous complex type.
|
interface |
Selector
Java class for anonymous complex type.
|
interface |
SimpleContent
Java class for anonymous complex type.
|
interface |
SimpleExplicitGroup
Java class for simpleExplicitGroup complex type.
|
interface |
SimpleExtensionType
Java class for simpleExtensionType complex type.
|
interface |
SimpleRestrictionType
Java class for simpleRestrictionType complex type.
|
interface |
SimpleType
Java class for simpleType complex type.
|
interface |
TopLevelAttribute
Java class for topLevelAttribute complex type.
|
interface |
TopLevelComplexType
Java class for topLevelComplexType complex type.
|
interface |
TopLevelElement
Java class for topLevelElement complex type.
|
interface |
TopLevelSimpleType
Java class for topLevelSimpleType complex type.
|
interface |
TotalDigits
Java class for anonymous complex type.
|
interface |
Union
memberTypes attribute must be non-empty or there must be
at least one simpleType child
|
interface |
WhiteSpace
Java class for anonymous complex type.
|
interface |
Wildcard
Java class for wildcard complex type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
XmlServiceParser
If an implementation of this exists it will be used to parse the XML file rather
than the default implementation which uses JAXB
|
Modifier and Type | Interface and Description |
---|---|
interface |
InteropChildBean |
interface |
InteropRootBean
This bean will be read from xml and then marshalled
into
1.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PBufPrecompileChild |
interface |
PBufPrecompileRootBean |
interface |
ThingBean |
interface |
ThingOneBean |
interface |
ThingTwoBean |
Modifier and Type | Interface and Description |
---|---|
interface |
PBufPrecompileChild2 |
interface |
TypeBean |
Modifier and Type | Interface and Description |
---|---|
interface |
BasicElementalBean |
interface |
ElementalBean |
interface |
ScalarRootBean |
Modifier and Type | Interface and Description |
---|---|
interface |
ServiceLocatorRuntimeBean
Runtime information about the ServiceLocator.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GuiceIntoHK2Bridge
Guice Bridge
|
Modifier and Type | Interface and Description |
---|---|
interface |
HK2JmxSpecifier
This service must be implemented in order to specify those
descriptors that might be reflected into JMX
|
Modifier and Type | Interface and Description |
---|---|
interface |
ComplexA |
interface |
ComplexC |
class |
ComplexDImpl
Is a contract
|
interface |
ComplexE |
interface |
ComplexF |
interface |
ComplexG |
interface |
SimpleContract
This is marked with the
Contract annotation
but will not be added, since the service is using
ContractsProvided |
Modifier and Type | Interface and Description |
---|---|
interface |
InterfaceWithTwoTypes<V,T> |
Modifier and Type | Interface and Description |
---|---|
interface |
LargeInterface
Imagine that this is an interface with a lot of methods on it
|
Modifier and Type | Interface and Description |
---|---|
interface |
SpringIntoHK2Bridge
This service is used to give HK2 spring
BeanFactories in which to find Spring
services
|
Copyright © 2009–2023 Oracle Corporation. All rights reserved.