Package org.jvnet.hk2.config
package org.jvnet.hk2.config
-
ClassDescriptionIndicates that this property or the field value must be injected from an XML attribute in a configuration file.Objects that do not wish to process the entire change set of a transaction can implement this interface and use it to invoke utility methods on ConfigSupport.type of change on a particular instanceConfigBean is the core implementation of the config beans.Interceptor interface to be notified of read/write operations on a ConfigBean.Marker interface that signifies that the interface is meant to be used as a strongly-typed proxy to
Dom.Allows multiple object as part of the transaction but requires manual casting.ConfigExtensionHandler<T extends ConfigBeanProxy>Inject configuration values to the object.Any object injected with Configured object and willing to receive notifications of changes should implement this interface.Constant names used in the metadata for configurable inhabitants.Describes the configuration model for a particular class (called "target type" in this class.)Parses configuration files, buildss, and add them toinvalid reference
Inhabitant.invalid reference
HabitatIndicates a problem during population on config beans.Helper class to execute some code on configuration objects while taking care of the transaction boiler plate code.Indicates a problem in the configuration value.Populates configuration entitiesMarks inhabitants that require configuration for instantiation.Contract-like annotation used on services indicating that their lifecycle is governed by theConfiguredbean they are associated with, and configured by.All views of @Configured interface implementation must implement this interfaceInterface allowing to register a listener for vetoable events.Denotes thetypeof the data a particular config element (attribute, element) should have.InvocationHandlerthat loads configuration from XML.DomDecorator<T extends Dom>Created by IntelliJ IDEA.DomDocument<T extends Dom>Represents a whole DOM tree.Indicates that this property or the field value must be injected from an XML element in a configuration file.This annotation may be placed on one String method of an annotation marked withGenerateServiceFromMethodto indicate that this method contains the name the service should take.This annotation is put on user-supplied annotations in order to cause the hk2-inhabitant-generator tool to create descriptors with certain properties.Utilities for working with HK2 configInjectionManager is responsible for injecting resources into a component.InjectionResolver<U extends Annotation>Implementation of this abstract class are handling injection resolution for a particular injection annotation Injection targets are identified by the generic parameter and the constructor of this class.Used onConfigInjectorto indicate the target class of the injection.Custom MessageInterpolatorImpl for HK2 This message interpolator is different from the default one in the following ways: 1.Used for bringing inConfigBeanProxyto the habitat.An explanation of a change could not be processed.Implementation of a @Configured object can optionally fire configuration change events when it's mutated.Usage:class ExampleDocument extends DomDocument{ Populates.invalid reference
HabitatRepresents a Java primitive (and its wrapper) data type.RetryableException indicates that an operation failed to execute property but could be successful in a later attemptSingleConfigCode<T extends ConfigBeanProxy>SimpleConfigCode is code snippet that can be used to apply some configuration changes to one configuration object.Simple transaction mechanism for config-api objectsTransactional callbackSimple transaction failure exceptionListener interface for objects interested in transaction events on the config beans.Transactions is a singleton service that receives transaction notifications and dispatch these notifications asynchronously to listeners.Any object that want to be part of a configuration transaction should implement this interface.Transfomer can transform a source object into a destination object, usually providing a different view of the original object.Indicates a failure inTranslator.translate(String).Used to perform string pre-processing on values found in the configuration file.Units annotation to be used on @Configured interfaces.Carries the PropertyChangeEvent and the reason it could not be processed.Collects change events that could not be processed.Exception thrown by the injection manager when a dependency is not satisfied when performing injection.Translatorthat does variable resolution in the Ant style.Simple helper for managing work sent to a foreign executor service.A WriteableView is a view of a ConfigBean object that allow access to the setters of the ConfigBean.To fix the problem in StAX API where exceptions are not properly chained.