Package org.jvnet.hk2.config

Interface Summary
Changed 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.
ConfigBeanInterceptor<T> Interceptor interface to be notified of read/write operations on a ConfigBean.
ConfigBeanProxy Marker interface that signifies that the interface is meant to be used as a strongly-typed proxy to Dom.
ConfigCode Allows multiple object as part of the transaction but requires manual casting.
ConfigListener Any object injected with Configured object and willing to receive notifications of changes should implement this interface.
ConfigSupport.TransactionCallBack<T>  
ConfigView All views of @Configured interface implementation must implement this interface
ConstrainedBeanListener Interface allowing to register a listener for vetoable events.
DataType Denotes the type of the data a particular config element (attribute, element) should have.
DomDecorator<T extends Dom>  
ObservableBean Implementation of a @Configured object can optionally fire configuration change events when it's mutated.
Populator Populates Habitat.
SingleConfigCode<T extends ConfigBeanProxy> SimpleConfigCode is code snippet that can be used to apply some configuration changes to one configuration object.
TransactionListener Listener interface for objects interested in transaction events on the config beans.
Transactor Any object that want to be part of a configuration transaction should implement this interface.
Transformer Transfomer can transform a source object into a destination object, usually providing a different view of the original object.
Translator Used to perform string pre-processing on values found in the configuration file.
 

Class Summary
ConfigBean ConfigBean is the core implementation of the config beans.
ConfigBeanProxy.Duck  
ConfigInjector<T> Inject configuration values to the object.
ConfigMetadata Constant names used in the metadata for configurable inhabitants.
ConfigModel Describes the configuration model for a particular class (called "target type" in this class.) TODO: we need to remember if element values are single-valued or multi-valued.
ConfigModel.Node  
ConfigModel.Property  
ConfigParser Parses configuration files, builds Inhabitants, and add them to Habitat.
ConfigSupport Helper class to execute some code on configuration objects while taking care of the transaction boiler plate code.
ConfigSupport.AttributeChanges  
ConfigSupport.MultipleAttributeChanges  
ConfigSupport.SingleAttributeChange  
ConfigurationPopulator Populates configuration entities
ConfiguredScanner Scanner for @Configured annotated classes
Dom Inhabitant that loads configuration from XML.
DomDescriptor<T> Created by IntelliJ IDEA.
DomDocument<T extends Dom> Represents a whole DOM tree.
IndentingXMLStreamWriter  
MessageInterpolatorImpl  
NoopConfigInjector Used for bringing in ConfigBeanProxy to the habitat.
NotProcessed An explanation of a change could not be processed.
PrimitiveDataType Represents a Java primitive (and its wrapper) data type.
Transaction Simple transaction mechanism for config-api objects
Transactions Transactions is a singleton service that receives transaction notifications and dispatch these notifications asynchronously to listeners.
UnprocessedChangeEvent Carries the PropertyChangeEvent and the reason it could not be processed.
UnprocessedChangeEvents Collects change events that could not be processed.
VariableResolver Translator that does variable resolution in the Ant style.
WriteableView A WriteableView is a view of a ConfigBean object that allow access to the setters of the ConfigBean.
 

Enum Summary
Changed.TYPE type of change on a particular instance
 

Exception Summary
ConfigPopulatorException Indicates a problem during population on config beans.
ConfigurationException Indicates a problem in the configuration value.
RetryableException RetryableException indicates that an operation failed to execute property but could be successful in a later attempt
TransactionFailure Simple transaction failure exception
TranslationException Indicates a failure in Translator.translate(String).
ValidationException  
XMLStreamException2 To fix the problem in StAX API where exceptions are not properly chained.
 

Annotation Types Summary
Attribute Indicates that this property or the field value must be injected from an XML attribute in a configuration file.
Configured Marks inhabitants that require configuration for instantiation.
ConfiguredBy Contract-like annotation used on services indicating that their lifecycle is governed by the Configured bean they are associated with, and configured by.
DuckTyped Indicates that this method on ConfigBeanProxy is a duck-typed method that are implemented by the static method on the nested static Duck class.
Element Indicates that this property or the field value must be injected from an XML element in a configuration file.
GeneratedServiceName This annotation may be placed on one String method of an annotation marked with GenerateServiceFromMethod to indicate that this method contains the name the service should take.
GenerateServiceFromMethod This annotation is put on user-supplied annotations in order to cause the hk2-inhabitant-generator tool to create descriptors with certain properties.
InjectionTarget Used on ConfigInjector to indicate the target class of the injection.
Units Units annotation to be used on @Configured interfaces.
 



Copyright © 2013 Oracle Corporation. All Rights Reserved.