Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abort(Transaction) - Method in interface org.jvnet.hk2.config.Transactor
-
Aborts this Transaction, reverting the state
- abort(Transaction) - Method in class org.jvnet.hk2.config.WriteableView
-
Aborts this Transaction, reverting the state
- ADD - Enum constant in enum class org.jvnet.hk2.config.Changed.TYPE
- addChildWithAttributes(ConfigBeanProxy, ConfigBean, Class<? extends ConfigBeanProxy>, List<AttributeChanges>, TransactionCallBack<WriteableView>) - Method in interface org.jvnet.hk2.config.api.ConfigurationUtilities
-
Adds this child bean to the parent with the given attributes.
- addChildWithAttributes(ConfigBeanProxy, ConfigBean, Class<? extends ConfigBeanProxy>, List<AttributeChanges>, TransactionCallBack<WriteableView>) - Method in class org.jvnet.hk2.config.ConfigSupport
- addDefaultChildren() - Method in class org.jvnet.hk2.config.Dom
-
When a new Dom object is created, ensures that all @NotNull annotated elements have a value.
- addInterceptor(Class<?>, ConfigBeanInterceptor) - Method in class org.jvnet.hk2.config.ConfigBean
-
Add a new ConfigBeanInterceptor to this ConfigBean instance.
- addLeafElement(String, String) - Method in class org.jvnet.hk2.config.Dom
- addListener(ConfigListener) - Method in class org.jvnet.hk2.config.Dom
- addListener(ConfigListener) - Method in interface org.jvnet.hk2.config.ObservableBean
-
Add a new listener to configuration changes.
- addListenerForType(Class, ConfigListener) - Method in class org.jvnet.hk2.config.Transactions
-
adds a listener for a particular config type
- addTransactionsListener(TransactionListener) - Method in class org.jvnet.hk2.config.Transactions
-
add a new listener to all transaction events.
- addVetoableChangeListener(VetoableChangeListener) - Method in interface org.jvnet.hk2.config.ConstrainedBeanListener
- advertisedContracts() - Element in annotation interface org.jvnet.hk2.config.GenerateServiceFromMethod
-
The set of fully qualified class names of the advertised contracts that are to be used in the generated descriptor.
- afterChange(PropertyChangeEvent, long) - Method in interface org.jvnet.hk2.config.ConfigBeanInterceptor
-
Notification that an attribute has changed
- afterChange(PropertyChangeEvent, long) - Method in class org.jvnet.hk2.config.OnDeleteCascade
- allocate(Class<?>) - Method in class org.jvnet.hk2.config.ConfigBean
-
Allocate a new ConfigBean object as part of the Transaction associated with this configuration object.
- allocateProxy(Class<T>) - Method in class org.jvnet.hk2.config.WriteableView
-
Allocate a new ConfigBean object as part of the Transaction associated with this configuration object.
- allowInjection(Method, Class<?>[]) - Method in class org.jvnet.hk2.config.InjectionManager
-
jsr-330 rules are very forgiving.
- annotations - Variable in class org.jvnet.hk2.config.ConfigModel.Property
- apply(Map<ConfigBean, Map<String, String>>) - Method in class org.jvnet.hk2.config.ConfigSupport
- apply(ConfigCode, ConfigBeanProxy...) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Executes some logic on some config beans protected by a transaction.
- apply(SingleConfigCode<T>, T) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Execute some logic on one config bean of type T protected by a transaction
- asBoolean(String) - Method in class org.jvnet.hk2.config.ConfigInjector
- asInt(String) - Method in class org.jvnet.hk2.config.ConfigInjector
- attribute(String) - Method in class org.jvnet.hk2.config.Dom
-
Obtains the attribute value, after variable expansion.
- attribute(String, String) - Method in class org.jvnet.hk2.config.Dom
-
Updates the attribute value.
- Attribute - Annotation Interface in org.jvnet.hk2.config
-
Indicates that this property or the field value must be injected from an XML attribute in a configuration file.
- AttributeChanges - Class in org.jvnet.hk2.config
- AttributeChanges(String) - Constructor for class org.jvnet.hk2.config.AttributeChanges
- attributes(String) - Method in class org.jvnet.hk2.config.Dom
-
Obtains the plural attribute value.
- awaitCompletion() - Method in class org.jvnet.hk2.config.WorkManager
- awaitCompletion(long, TimeUnit) - Method in class org.jvnet.hk2.config.WorkManager
B
- beforeChange(PropertyChangeEvent) - Method in interface org.jvnet.hk2.config.ConfigBeanInterceptor
-
Notification that an attribute is about to be changed
- beforeChange(PropertyChangeEvent) - Method in class org.jvnet.hk2.config.OnDeleteCascade
- buildModel(Class<?>) - Method in class org.jvnet.hk2.config.DomDocument
-
Obtains a
ConfigModelfor the given class (Which should haveConfiguredannotation on it.) - buildModel(String) - Method in class org.jvnet.hk2.config.DomDocument
-
Obtains a
ConfigModelfor the given class (Which should haveConfiguredannotation on it.) - BYTES - Static variable in annotation interface org.jvnet.hk2.config.Units
C
- camelCaseToXML(String) - Static method in class org.jvnet.hk2.config.ConfigModel
- canCommit() - Method in class org.jvnet.hk2.config.Transaction
-
Tests if the transaction participants will pass the prepare phase successfully.
- canCommit(Transaction) - Method in interface org.jvnet.hk2.config.Transactor
-
Returns true of this Transaction can be committed on this object
- canCommit(Transaction) - Method in class org.jvnet.hk2.config.WriteableView
-
Returns true of this Transaction can be committed on this object
- captureACCandRun(Runnable) - Static method in class org.jvnet.hk2.config.provider.internal.ConfigThreadContext
-
Performs a runnable action while managing the callers AccessControlContext in thread local storage
- CHANGE - Enum constant in enum class org.jvnet.hk2.config.Changed.TYPE
- changed(PropertyChangeEvent[]) - Method in interface org.jvnet.hk2.config.ConfigListener
-
Notification that @Configured objects that were injected have changed
- changed(Changed.TYPE, Class<T>, T) - Method in interface org.jvnet.hk2.config.Changed
-
Notification of a change on a configuration object
- Changed - Interface in org.jvnet.hk2.config
-
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.
- Changed.TYPE - Enum Class in org.jvnet.hk2.config
-
type of change on a particular instance
- changeLeafElement(String, String, String) - Method in class org.jvnet.hk2.config.Dom
- classLoaderHolder - Variable in class org.jvnet.hk2.config.ConfigModel
-
Deferred reference to the class loader that loaded the injector.
- close() - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- close() - Method in class org.jvnet.hk2.config.generator.ConfigInjectorGenerator.FilerCodeWriter
- commit() - Method in interface org.jvnet.hk2.config.provider.ConfigTransaction
-
Locks changes, calls prepare (if not yet performed), followed by commit if no prepare errors.
- commit() - Method in class org.jvnet.hk2.config.Transaction
-
Commits all participants to this transaction
- commit(Map<Object, Object>) - Method in interface org.jvnet.hk2.config.provider.ConfigTransaction
-
Same basic behavior as
ConfigTransaction.commit()with the added ability to substitute configuration beans used in the prepare phase with the final bean object replacements that should be managed. - commit(Transaction) - Method in interface org.jvnet.hk2.config.Transactor
-
Commit this Transaction.
- commit(Transaction) - Method in class org.jvnet.hk2.config.WriteableView
-
Commit this Transaction.
- completed(WorkManager.Watcher<?>, Exception) - Method in class org.jvnet.hk2.config.WorkManager
- component - Variable in class org.jvnet.hk2.config.InjectionManager.InjectContext
- ConfigBean - Class in org.jvnet.hk2.config
-
ConfigBean is the core implementation of the config beans.
- ConfigBean(ServiceLocator, DomDocument, ConfigBean, ConfigModel, XMLStreamReader) - Constructor for class org.jvnet.hk2.config.ConfigBean
- ConfigBean(Dom, Dom) - Constructor for class org.jvnet.hk2.config.ConfigBean
-
Copy constructor, used to get a deep copy of the passed instance.
- ConfigBeanInterceptor<T> - Interface in org.jvnet.hk2.config
-
Interceptor interface to be notified of read/write operations on a ConfigBean.
- ConfigBeanProxy - Interface in org.jvnet.hk2.config
-
Marker interface that signifies that the interface is meant to be used as a strongly-typed proxy to
Dom. - ConfigBeanProxyCustomizer - Interface in org.jvnet.hk2.config
- ConfigCode - Interface in org.jvnet.hk2.config
-
Allows multiple object as part of the transaction but requires manual casting.
- ConfigExtensionHandler<T extends ConfigBeanProxy> - Interface in org.jvnet.hk2.config
- ConfigExtensionMethod - Annotation Interface in org.jvnet.hk2.config
- ConfigInjector<T> - Class in org.jvnet.hk2.config
-
Inject configuration values to the object.
- ConfigInjector() - Constructor for class org.jvnet.hk2.config.ConfigInjector
- ConfigInjectorGenerator - Class in org.jvnet.hk2.config.generator
- ConfigInjectorGenerator() - Constructor for class org.jvnet.hk2.config.generator.ConfigInjectorGenerator
- ConfigInjectorGenerator.FilerCodeWriter - Class in org.jvnet.hk2.config.generator
-
CodeWriterthat generates source code toFiler. - ConfigInstanceListener - Class in org.jvnet.hk2.config.provider.internal
- ConfigInstanceListener() - Constructor for class org.jvnet.hk2.config.provider.internal.ConfigInstanceListener
- ConfigListener - Interface in org.jvnet.hk2.config
-
Any object injected with Configured object and willing to receive notifications of changes should implement this interface.
- ConfigMetadata - Class in org.jvnet.hk2.config
-
Constant names used in the metadata for configurable inhabitants.
- ConfigMetadata() - Constructor for class org.jvnet.hk2.config.ConfigMetadata
- ConfigModel - Class in org.jvnet.hk2.config
-
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(DomDocument, ActiveDescriptor<? extends ConfigInjector>, Map<String, List<String>>, ServiceLocator) - Constructor for class org.jvnet.hk2.config.ConfigModel
- ConfigModel.Node - Class in org.jvnet.hk2.config
- ConfigModel.Property - Class in org.jvnet.hk2.config
- ConfigParser - Class in org.jvnet.hk2.config
-
Parses configuration files, builds
Inhabitants, and add them toHabitat. - ConfigParser(ServiceLocator) - Constructor for class org.jvnet.hk2.config.ConfigParser
- ConfigPopulatorException - Exception in org.jvnet.hk2.config
-
Indicates a problem during population on config beans.
- ConfigPopulatorException(String) - Constructor for exception org.jvnet.hk2.config.ConfigPopulatorException
- ConfigPopulatorException(String, Throwable) - Constructor for exception org.jvnet.hk2.config.ConfigPopulatorException
- ConfigSupport - Class in org.jvnet.hk2.config
-
Helper class to execute some code on configuration objects while taking care of the transaction boiler plate code.
- ConfigSupport() - Constructor for class org.jvnet.hk2.config.ConfigSupport
- ConfigSupport.MultipleAttributeChanges - Class in org.jvnet.hk2.config
- ConfigSupport.SingleAttributeChange - Class in org.jvnet.hk2.config
- ConfigThreadContext - Class in org.jvnet.hk2.config.provider.internal
- ConfigThreadContext() - Constructor for class org.jvnet.hk2.config.provider.internal.ConfigThreadContext
- ConfigTransaction - Interface in org.jvnet.hk2.config.provider
-
Represents a configuration transaction from an outside configuration system.
- ConfigTransactionException - Exception in org.jvnet.hk2.config.provider
-
A generic Transaction failure.
- ConfigTransactionException(String) - Constructor for exception org.jvnet.hk2.config.provider.ConfigTransactionException
- ConfigTransactionException(String, Throwable) - Constructor for exception org.jvnet.hk2.config.provider.ConfigTransactionException
- ConfigTransactionFactory - Interface in org.jvnet.hk2.config.provider
-
Provides
Configuredbean integration with external configuration systems and providers. - ConfigTransactionRejectedException - Exception in org.jvnet.hk2.config.provider
-
Thrown by
ConfiguredByservices that signifies that the service rejected the configuration and the transaction was automatically rolled back. - ConfigTransactionRejectedException(String) - Constructor for exception org.jvnet.hk2.config.provider.ConfigTransactionRejectedException
- ConfigTransactionRejectedException(String, Throwable) - Constructor for exception org.jvnet.hk2.config.provider.ConfigTransactionRejectedException
- ConfigurationException - Exception in org.jvnet.hk2.config
-
Indicates a problem in the configuration value.
- ConfigurationException(String) - Constructor for exception org.jvnet.hk2.config.ConfigurationException
- ConfigurationException(String, Object...) - Constructor for exception org.jvnet.hk2.config.ConfigurationException
- ConfigurationException(String, Throwable) - Constructor for exception org.jvnet.hk2.config.ConfigurationException
- ConfigurationPopulator - Class in org.jvnet.hk2.config
-
Populates configuration entities
- ConfigurationPopulator() - Constructor for class org.jvnet.hk2.config.ConfigurationPopulator
- ConfigurationUtilities - Interface in org.jvnet.hk2.config.api
- Configured - Annotation Interface in org.jvnet.hk2.config
-
Marks inhabitants that require configuration for instantiation.
- ConfiguredBy - Annotation Interface in org.jvnet.hk2.config
-
Contract-like annotation used on services indicating that their lifecycle is governed by the
Configuredbean they are associated with, and configured by. - ConfigView - Interface in org.jvnet.hk2.config
-
All views of @Configured interface implementation must implement this interface
- ConstrainedBeanListener - Interface in org.jvnet.hk2.config
-
Interface allowing to register a listener for vetoable events.
- ContractFinder - Class in org.jvnet.hk2.config.generator.apt
-
Given a
TypeElement, find all super-types that haveContract, including ones pointed byContractsProvided. - convertMapToAttributeChanges(Map<String, String>) - Static method in class org.jvnet.hk2.config.ConfigSupport
- convertName(String) - Static method in class org.jvnet.hk2.config.Dom
- copy(T) - Method in class org.jvnet.hk2.config.ConfigBean
-
Returns a copy of itself providing the parent for the new copy.
- copy(T) - Method in class org.jvnet.hk2.config.Dom
-
Returns a copy of itself providing the parent for the new copy.
- COUNT - Static variable in annotation interface org.jvnet.hk2.config.Units
-
value is an arbitrary count
- create() - Method in interface org.jvnet.hk2.config.provider.internal.Creator
-
Creates a new instance.
- create() - Method in class org.jvnet.hk2.config.provider.internal.CreatorImpl
- create(ServiceHandle) - Method in class org.jvnet.hk2.config.Dom
- create(ServiceHandle<?>) - Method in class org.jvnet.hk2.config.DomDescriptor
- createAndSet(ConfigBean, Class<? extends ConfigBeanProxy>, List<AttributeChanges>) - Method in class org.jvnet.hk2.config.ConfigSupport
- createAndSet(ConfigBean, Class<? extends ConfigBeanProxy>, List<AttributeChanges>, TransactionCallBack<WriteableView>) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Creates a new child of the passed child and add it to the parent's live list of elements.
- createAndSet(ConfigBean, Class<? extends ConfigBeanProxy>, Map<String, String>) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Creates a new child of the passed child and add it to the parent's live list of elements.
- createAndSet(ConfigBean, Class<? extends ConfigBeanProxy>, Map<String, String>, TransactionCallBack<WriteableView>) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Creates a new child of the passed child and add it to the parent's live list of elements.
- createChild(Class<T>) - Method in interface org.jvnet.hk2.config.ConfigBeanProxy
-
Creates a child element of this configuration element
- createChild(ConfigBeanProxy, Class<?>) - Method in interface org.jvnet.hk2.config.ConfigBeanProxyCustomizer
-
Creates a child element of this configuration element
- createCreator(Class) - Method in class org.jvnet.hk2.config.Dom
-
This is how we inject the configuration into the created object.
- created(Object, String, MultiMap<String, String>) - Method in interface org.jvnet.hk2.config.provider.ConfigTransaction
-
Add configuration beans to the transaction.
- createParameterizedType(Class, Type...) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Returns the
Typeobject that representsclazz<T1,T2,T3>. - createProxy() - Method in class org.jvnet.hk2.config.Dom
-
Creates a strongly-typed proxy to access values in this
Domobject, - createProxy(Class<T>) - Method in class org.jvnet.hk2.config.Dom
-
Creates a strongly-typed proxy to access values in this
Domobject, by using the specified interface type as the proxy type. - Creator<T> - Interface in org.jvnet.hk2.config.provider.internal
-
Encapsulates how to create an object.
- CreatorImpl<T> - Class in org.jvnet.hk2.config.provider.internal
- CreatorImpl(Class<?>, ServiceLocator) - Constructor for class org.jvnet.hk2.config.provider.internal.CreatorImpl
- currentListeners() - Method in class org.jvnet.hk2.config.Transactions
D
- dataType() - Element in annotation interface org.jvnet.hk2.config.Attribute
-
Specifies the data type.
- DataType - Interface in org.jvnet.hk2.config
-
Denotes the
typeof the data a particular config element (attribute, element) should have. - DAYS - Static variable in annotation interface org.jvnet.hk2.config.Units
- decorate(ServiceLocator, DomDocument, T, ConfigModel, XMLStreamReader) - Method in interface org.jvnet.hk2.config.DomDecorator
- deepCopy(ConfigBeanProxy) - Method in interface org.jvnet.hk2.config.ConfigBeanProxy
-
Performs a deep copy of this configuration element and returns it.
- deepCopy(ConfigBeanProxy, ConfigBeanProxy) - Method in interface org.jvnet.hk2.config.ConfigBeanProxyCustomizer
-
Performs a deep copy of this configuration element and returns it.
- DEFAULT_VALIDATION_MESSAGES - Static variable in class org.jvnet.hk2.config.MessageInterpolatorImpl
-
The name of the default message bundle.
- defaultValue() - Element in annotation interface org.jvnet.hk2.config.Attribute
-
Specifies the default value of the attribute.
- deleteChild(ConfigBean, ConfigBean) - Static method in class org.jvnet.hk2.config.ConfigSupport
- deleted(Object) - Method in interface org.jvnet.hk2.config.provider.ConfigTransaction
-
Marks configuration beans as having been deleted.
- deleted(Collection<?>) - Method in interface org.jvnet.hk2.config.provider.ConfigTransaction
- digAnnotation(Class<?>, Class<T>) - Static method in class org.jvnet.hk2.config.Dom
- digAnnotation(Class<?>, Class<T>, List<Class<? extends Annotation>>) - Static method in class org.jvnet.hk2.config.Dom
- document - Variable in class org.jvnet.hk2.config.Dom
-
Owner of the DOM tree.
- Dom - Class in org.jvnet.hk2.config
-
InvocationHandlerthat loads configuration from XML. - Dom(ServiceLocator, DomDocument, Dom, ConfigModel) - Constructor for class org.jvnet.hk2.config.Dom
- Dom(ServiceLocator, DomDocument, Dom, ConfigModel, XMLStreamReader) - Constructor for class org.jvnet.hk2.config.Dom
- Dom(Dom, Dom) - Constructor for class org.jvnet.hk2.config.Dom
-
Copy constructor, used to get a deep copy of the passed instance
- DomDecorator<T extends Dom> - Interface in org.jvnet.hk2.config
- DomDescriptor<T> - Class in org.jvnet.hk2.config
-
Created by IntelliJ IDEA.
- DomDescriptor() - Constructor for class org.jvnet.hk2.config.DomDescriptor
-
For serializable
- DomDescriptor(Dom, Set<Type>, Class<? extends Annotation>, String, Set<Annotation>) - Constructor for class org.jvnet.hk2.config.DomDescriptor
-
Creates the constant descriptor
- DomDocument<T extends Dom> - Class in org.jvnet.hk2.config
-
Represents a whole DOM tree.
- DomDocument(ServiceLocator) - Constructor for class org.jvnet.hk2.config.DomDocument
- domNodeByTypeElements(Class) - Method in class org.jvnet.hk2.config.Dom
-
Picks up all node elements that are assignable to the given type, except those who are matched by other named elements in the model.
E
- element(String) - Method in class org.jvnet.hk2.config.Dom
-
Returns the child element by name
- Element - Annotation Interface in org.jvnet.hk2.config
-
Indicates that this property or the field value must be injected from an XML element in a configuration file.
- enableHK2DomConfiguration(ServiceLocator) - Static method in class org.jvnet.hk2.config.HK2DomConfigUtilities
-
This method enables HK2 Dom based XML configuration parsing for systems that do not use HK2 metadata files or use a non-default name for HK2 metadata files.
- enableHK2DomConfiguration(ServiceLocator, HK2Loader) - Static method in class org.jvnet.hk2.config.HK2DomConfigUtilities
-
This method enables HK2 Dom based XML configuration parsing for systems that do not use HK2 metadata files or use a non-default name for HK2 metadata files.
- enroll(T) - Method in class org.jvnet.hk2.config.Transaction
-
Enroll a configuration object in a transaction and returns a writeable view of it
- equals(Object) - Method in class org.jvnet.hk2.config.ConfigBean
- equals(Object) - Method in class org.jvnet.hk2.config.Dom
- equals(Object) - Method in class org.jvnet.hk2.config.DomDescriptor
- erasure(Type) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Returns the
Classrepresentation of the given type. - error_injectionException(InjectionResolver, Annotation, AnnotatedElement, Throwable) - Method in class org.jvnet.hk2.config.InjectionManager
- error_InjectMethodIsNotVoid(Method) - Method in class org.jvnet.hk2.config.InjectionManager
- es - Variable in class org.jvnet.hk2.config.InjectionManager.InjectContext
- execute(Runnable) - Method in class org.jvnet.hk2.config.WorkManager
- executeAll(Collection<Runnable>) - Method in class org.jvnet.hk2.config.WorkManager
- ExecutionException(Throwable) - Constructor for exception org.jvnet.hk2.config.WorkManager.ExecutionException
- ExecutionException(List<Exception>) - Constructor for exception org.jvnet.hk2.config.WorkManager.ExecutionException
- ExecutionException(WorkManager.ExecutionException) - Constructor for exception org.jvnet.hk2.config.WorkManager.ExecutionException
F
- FilerCodeWriter(Filer) - Constructor for class org.jvnet.hk2.config.generator.ConfigInjectorGenerator.FilerCodeWriter
- find(TypeElement) - Static method in class org.jvnet.hk2.config.generator.apt.ContractFinder
-
The entry point.
- findIgnoreCase(String) - Method in class org.jvnet.hk2.config.ConfigModel
- flush() - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
G
- GeneratedServiceName - Annotation Interface in org.jvnet.hk2.config
-
This annotation may be placed on one String method of an annotation marked with
GenerateServiceFromMethodto indicate that this method contains the name the service should take. - GenerateServiceFromMethod - Annotation Interface in org.jvnet.hk2.config
-
This annotation is put on user-supplied annotations in order to cause the hk2-inhabitant-generator tool to create descriptors with certain properties.
- get() - Method in class org.jvnet.hk2.config.Dom
- get(Dom, Type) - Method in class org.jvnet.hk2.config.ConfigModel.Property
-
Gets the value from
Domin the specified type. - getActiveTransaction(boolean) - Method in interface org.jvnet.hk2.config.provider.ConfigTransactionFactory
-
Gets the active transaction, optionally creating a new transaction if no transaction is active.
- getAllModelsImplementing(Class<?>) - Method in class org.jvnet.hk2.config.DomDocument
-
Calculates all @Configured interfaces subclassing the passed interface type.
- getAnnotation(Class<T>) - Method in exception org.jvnet.hk2.config.UnsatisfiedDependencyException
- getAnnotations() - Method in class org.jvnet.hk2.config.ConfigModel.Property
- getAttributeNames() - Method in class org.jvnet.hk2.config.ConfigModel
-
Returns the set of possible attributes names on this configuration model.
- getAttributeNames() - Method in class org.jvnet.hk2.config.Dom
-
Returns the list of attributes with a value on this config instance.
- getAttributesNames(ConfigBean) - Method in class org.jvnet.hk2.config.ConfigSupport
-
Returns the list of attributes names by the passed ConfigBean
- getBaseClass(Type, Class) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Gets the parameterization of the given base type.
- getCache() - Method in class org.jvnet.hk2.config.Dom
- getCause(Class<T>) - Method in exception org.jvnet.hk2.config.WorkManager.ExecutionException
- getComponentType(Type) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Gets the component type of the array.
- getConfiguration() - Method in interface org.jvnet.hk2.config.ConfigBeanInterceptor
-
Interceptor can usually be configured, allowing for customizing how the interceptor should behave or do.
- getConfiguration() - Method in class org.jvnet.hk2.config.OnDeleteCascade
- getContractTypes() - Method in class org.jvnet.hk2.config.Dom
- getElement(String) - Method in class org.jvnet.hk2.config.ConfigModel
-
Returns the Property model for an element associated with this model or null of the element name is not known,
- getElementFromXMlName(String) - Method in class org.jvnet.hk2.config.ConfigModel
- getElementNames() - Method in class org.jvnet.hk2.config.ConfigModel
-
Returns the list of all posible elements names on this model
- getElementNames() - Method in class org.jvnet.hk2.config.Dom
-
Returns the children name associated with this config instance.
- getElementsNames(ConfigBean) - Method in class org.jvnet.hk2.config.ConfigSupport
-
Returns the list of elements names by the passed ConfigBean
- getElementTypeByName(ConfigBeanProxy, String) - Static method in class org.jvnet.hk2.config.ConfigSupport
- getEvent() - Method in class org.jvnet.hk2.config.UnprocessedChangeEvent
- getFactoryLocatorId() - Method in class org.jvnet.hk2.config.Dom
- getFactoryServiceId() - Method in class org.jvnet.hk2.config.Dom
- getFilter() - Method in class org.jvnet.hk2.config.provider.internal.ConfigInstanceListener
- getHabitat() - Method in class org.jvnet.hk2.config.Dom
- getImpl(ConfigBeanProxy) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Return the main implementation bean for a proxy.
- getImplementation() - Method in class org.jvnet.hk2.config.DomDescriptor
- getImplementationClass() - Method in class org.jvnet.hk2.config.Dom
- getImplementationClass() - Method in class org.jvnet.hk2.config.DomDescriptor
- getImplementationType() - Method in class org.jvnet.hk2.config.Dom
- getImplementationType() - Method in class org.jvnet.hk2.config.DomDescriptor
- getIndentStep() - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
-
Deprecated.Only return the length of the indent string.
- getInjectees() - Method in class org.jvnet.hk2.config.Dom
- getInjector() - Method in class org.jvnet.hk2.config.Dom
-
Gets the
ConfigInjectorinstance that can be used to inject this DOM to a bean. - getKey() - Method in class org.jvnet.hk2.config.Dom
-
Obtains the actual key value from this
Dom. - getLeafElementNames() - Method in class org.jvnet.hk2.config.ConfigModel
-
Returns the list of all the leaf attribute names on this model
- getLocation() - Method in exception org.jvnet.hk2.config.ConfigPopulatorException
-
Indicates the source position of the configuration file where the problem happened.
- getLocation() - Method in exception org.jvnet.hk2.config.ConfigurationException
-
Indicates the source position of the configuration file where the problem happened.
- getLocation() - Method in class org.jvnet.hk2.config.Dom
-
Where was this
Domloaded from? - getLock() - Method in class org.jvnet.hk2.config.ConfigBean
-
Returns the lock on this object, only one external view (usually the writeable view) can acquire the lock ensuring that the objects cannot be concurrently modified
- getMasterView() - Method in class org.jvnet.hk2.config.ConfigBean
-
We are the master view.
- getMasterView() - Method in interface org.jvnet.hk2.config.ConfigView
- getMasterView() - Method in class org.jvnet.hk2.config.WriteableView
- getMessage() - Method in exception org.jvnet.hk2.config.ConfigPopulatorException
- getMessage() - Method in exception org.jvnet.hk2.config.ConfigurationException
- getMetadata() - Method in class org.jvnet.hk2.config.ConfigModel
- getModel() - Method in class org.jvnet.hk2.config.ConfigModel.Node
-
Returns the config model for this Node
- getModel(Class) - Method in class org.jvnet.hk2.config.DomDocument
-
Deprecated.
- getModelByElementName(String) - Method in class org.jvnet.hk2.config.DomDocument
-
Obtains the
ConfigModelfrom the "global" element name. - getName() - Method in class org.jvnet.hk2.config.AttributeChanges
- getNamespaceContext() - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- getObjectName() - Method in class org.jvnet.hk2.config.ConfigBean
- getOptionalFeature(Class<T>) - Method in class org.jvnet.hk2.config.ConfigBean
-
Returns an optional feature of the ConfigBean.
- getParent() - Method in interface org.jvnet.hk2.config.ConfigBeanProxy
-
Returns the parent element of this configuration element.
- getParent(Class<T>) - Method in interface org.jvnet.hk2.config.ConfigBeanProxy
-
Returns the typed parent element of this configuration element.
- getParent(ConfigBeanProxy) - Method in interface org.jvnet.hk2.config.ConfigBeanProxyCustomizer
-
Returns the parent element of this configuration element.
- getParent(ConfigBeanProxy, Class<?>) - Method in interface org.jvnet.hk2.config.ConfigBeanProxyCustomizer
-
Returns the typed parent element of this configuration element.
- getPrefix(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- getProperty(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- getProperty(String) - Method in class org.jvnet.hk2.config.WriteableView
- getPropertyValue(String) - Method in class org.jvnet.hk2.config.WriteableView
- getProxy(Class<T>) - Method in class org.jvnet.hk2.config.ConfigBean
-
Creates a proxy for this view.
- getProxy(Class<T>) - Method in interface org.jvnet.hk2.config.ConfigView
- getProxy(Class<T>) - Method in class org.jvnet.hk2.config.WriteableView
- getProxyType() - Method in class org.jvnet.hk2.config.ConfigModel
-
Return the proxy type for this model
- getProxyType() - Method in interface org.jvnet.hk2.config.ConfigView
- getProxyType() - Method in class org.jvnet.hk2.config.Dom
-
Returns the proxy type for this configuration object
- getProxyType() - Method in class org.jvnet.hk2.config.WriteableView
- getQualifierAnnotations() - Method in class org.jvnet.hk2.config.Dom
- getReason() - Method in class org.jvnet.hk2.config.NotProcessed
- getReason() - Method in class org.jvnet.hk2.config.UnprocessedChangeEvent
- getRoot() - Method in class org.jvnet.hk2.config.DomDocument
- getScopeAnnotation() - Method in class org.jvnet.hk2.config.Dom
- getServiceLocator() - Method in class org.jvnet.hk2.config.Dom
- getSetterMethod(Method, U) - Method in class org.jvnet.hk2.config.InjectionResolver
-
Returns the setter method responsible for setting the resource identified by the passed annotation on the passed annotated method.
- getSubElementsTypes(ConfigBean) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Returns the list of sub-elements supported by a ConfigBean
- getSupportedAnnotationTypes() - Method in class org.jvnet.hk2.config.generator.ConfigInjectorGenerator
- getSupportedSourceVersion() - Method in class org.jvnet.hk2.config.generator.ConfigInjectorGenerator
- getSymbolSpaceRoot(String) - Method in class org.jvnet.hk2.config.Dom
-
Locates the DOM that serves as the symbol space root.
- getTagName() - Method in class org.jvnet.hk2.config.ConfigModel
-
getter for tagName
- getter(ConfigModel.Property, Type) - Method in class org.jvnet.hk2.config.ConfigBean
- getter(ConfigModel.Property, Type) - Method in class org.jvnet.hk2.config.Dom
- getter(ConfigModel.Property, Type) - Method in class org.jvnet.hk2.config.WriteableView
- getTransaction() - Method in class org.jvnet.hk2.config.WriteableView
- getTransaction(T) - Static method in class org.jvnet.hk2.config.Transaction
-
Returns the transaction associated with a writable view
- getTranslator() - Method in class org.jvnet.hk2.config.DomDocument
- getTypeArgument(Type, int) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Gets the i-th type argument from a parameterized type.
- getTypeArgument(Type, int, Type) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Gets the i-th type argument from a parameterized type.
- getTypeName(Type) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Gets the display name of the type object
- getUnprocessed() - Method in class org.jvnet.hk2.config.UnprocessedChangeEvents
- getUnsatisfiedElement() - Method in exception org.jvnet.hk2.config.UnsatisfiedDependencyException
- getUnsatisfiedName() - Method in exception org.jvnet.hk2.config.UnsatisfiedDependencyException
- getValue(Object, AnnotatedElement, Type, Class<V>) - Method in interface org.jvnet.hk2.config.InjectionResolverQuery
-
Returns the value to inject in the field or method of component annotated with the annotated annotation.
- getVariableValue(String) - Method in class org.jvnet.hk2.config.VariableResolver
-
Returns the value of the variable.
- getVersion() - Method in interface org.jvnet.hk2.config.VersionedConfigBeanProxy
- getWhen() - Method in class org.jvnet.hk2.config.UnprocessedChangeEvent
- getWorkInProgressCount() - Method in class org.jvnet.hk2.config.WorkManager
- getWriteableView(T) - Method in class org.jvnet.hk2.config.ConfigSupport
-
Returns a writeable view of a configuration object
- GIGABYTES - Static variable in annotation interface org.jvnet.hk2.config.Units
H
- habitat - Variable in class org.jvnet.hk2.config.ConfigParser
-
This is where we put parsed inhabitants into.
- handleElement(XMLStreamReader, DomDocument, Dom) - Method in class org.jvnet.hk2.config.ConfigParser
-
Parses a whole XML tree and builds a
Domtree. - handleElement(XMLStreamReader, DomDocument, Dom, ConfigModel) - Method in class org.jvnet.hk2.config.ConfigParser
-
Parses a whole XML tree and builds a
Domtree, by using the given model for the top-level element. - handleExtension(Object, Class<T>, Object[]) - Method in interface org.jvnet.hk2.config.ConfigExtensionHandler
- hashCode() - Method in class org.jvnet.hk2.config.ConfigBean
- hashCode() - Method in class org.jvnet.hk2.config.Dom
- hashCode() - Method in class org.jvnet.hk2.config.DomDescriptor
- HK2DomConfigUtilities - Class in org.jvnet.hk2.config
-
Utilities for working with HK2 config
- HK2DomConfigUtilities() - Constructor for class org.jvnet.hk2.config.HK2DomConfigUtilities
- HOURS - Static variable in annotation interface org.jvnet.hk2.config.Units
I
- implementation() - Element in annotation interface org.jvnet.hk2.config.GenerateServiceFromMethod
-
This must have the fully qualified class name of the implementation that is to be used in the generated descriptor
- IndentingXMLStreamWriter - Class in org.jvnet.hk2.config
- IndentingXMLStreamWriter(XMLStreamWriter) - Constructor for class org.jvnet.hk2.config.IndentingXMLStreamWriter
- init(ProcessingEnvironment) - Method in class org.jvnet.hk2.config.generator.ConfigInjectorGenerator
- initializationCompleted() - Method in class org.jvnet.hk2.config.Dom
- inject(Object) - Method in class org.jvnet.hk2.config.Dom
-
Performs injection to the given object.
- inject(Object, Class, InjectionResolver...) - Method in class org.jvnet.hk2.config.InjectionManager
-
Initializes the component by performing injection.
- inject(Object, ExecutorService, InjectionResolver...) - Method in class org.jvnet.hk2.config.InjectionManager
-
Initializes the component by performing injection.
- inject(Object, InjectionResolver...) - Method in class org.jvnet.hk2.config.InjectionManager
-
Initializes the component by performing injection.
- inject(Dom, Object) - Method in class org.jvnet.hk2.config.NoopConfigInjector
- inject(Dom, T) - Method in class org.jvnet.hk2.config.ConfigInjector
-
Reads values from
Domand inject them into the given target object. - injectAttribute(Dom, String, Object) - Method in class org.jvnet.hk2.config.NoopConfigInjector
- injectAttribute(Dom, String, T) - Method in class org.jvnet.hk2.config.ConfigInjector
-
Injects a single property of the given attribute name.
- InjectClass(Class, InjectionManager.InjectContext) - Constructor for class org.jvnet.hk2.config.InjectionManager.InjectClass
- InjectContext(Object, ExecutorService, InjectionResolver[]) - Constructor for class org.jvnet.hk2.config.InjectionManager.InjectContext
- injectElement(Dom, String, Object) - Method in class org.jvnet.hk2.config.NoopConfigInjector
- injectElement(Dom, String, T) - Method in class org.jvnet.hk2.config.ConfigInjector
-
Injects a single property of the given element name.
- InjectField(InjectionManager.InjectClass, Field, Annotation, InjectionResolver) - Constructor for class org.jvnet.hk2.config.InjectionManager.InjectField
- InjectFields(InjectionManager.InjectClass) - Constructor for class org.jvnet.hk2.config.InjectionManager.InjectFields
- InjectionManager - Class in org.jvnet.hk2.config
-
InjectionManager is responsible for injecting resources into a component.
- InjectionManager() - Constructor for class org.jvnet.hk2.config.InjectionManager
- InjectionManager.InjectClass - Class in org.jvnet.hk2.config
-
Prototype for the multi-threaded version of inject().
- InjectionManager.InjectContext - Class in org.jvnet.hk2.config
- InjectionManager.InjectField - Class in org.jvnet.hk2.config
- InjectionManager.InjectFields - Class in org.jvnet.hk2.config
- InjectionManager.InjectMethod - Class in org.jvnet.hk2.config
- InjectionManager.InjectMethods - Class in org.jvnet.hk2.config
- InjectionResolver<U extends Annotation> - Class in org.jvnet.hk2.config
-
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.
- InjectionResolver(Class<U>) - Constructor for class org.jvnet.hk2.config.InjectionResolver
-
Construct a resolver with a particular injection type
- InjectionResolverQuery - Interface in org.jvnet.hk2.config
- InjectionTarget - Annotation Interface in org.jvnet.hk2.config
-
Used on
ConfigInjectorto indicate the target class of the injection. - InjectMethod(InjectionManager.InjectClass, Method, Annotation, InjectionResolver) - Constructor for class org.jvnet.hk2.config.InjectionManager.InjectMethod
- InjectMethods(InjectionManager.InjectClass) - Constructor for class org.jvnet.hk2.config.InjectionManager.InjectMethods
- injector - Variable in class org.jvnet.hk2.config.ConfigModel
-
Reference to the
ConfigInjectorused to inject values to objects of this model. - insertAfter(Dom, String, Dom) - Method in class org.jvnet.hk2.config.Dom
-
Inserts a new
Domnode right after the given DOM element. - interpolate(String, MessageInterpolator.Context) - Method in class org.jvnet.hk2.config.MessageInterpolatorImpl
- interpolate(String, MessageInterpolator.Context, Locale) - Method in class org.jvnet.hk2.config.MessageInterpolatorImpl
-
Runs the message interpolation according to algorithm specified in JSR 303.
- invoke(Object, Method, Object[]) - Method in class org.jvnet.hk2.config.Dom
-
InvocationHandlerimplementation that allows strongly-typed access to the configuration. - invoke(Object, Method, Object[]) - Method in class org.jvnet.hk2.config.WriteableView
- invoke(Object, String, Class[], Object[]) - Method in class org.jvnet.hk2.config.Dom
-
Another version of the
Dom.invoke(Object, Method, Object[]), but instead ofMethodobject, it takes the method name and argument types. - isArray(Type) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Checks if the type is an array type.
- isArrayButNotByteArray(Type) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Checks if the type is an array type but not byte[].
- isCacheSet() - Method in class org.jvnet.hk2.config.Dom
- isCollection() - Method in class org.jvnet.hk2.config.ConfigModel.Property
-
Is multiple values allowed?
- isField() - Method in exception org.jvnet.hk2.config.UnsatisfiedDependencyException
- isLeaf() - Method in class org.jvnet.hk2.config.ConfigModel.Node
- isLeaf() - Method in class org.jvnet.hk2.config.ConfigModel.Property
- isMethod() - Method in exception org.jvnet.hk2.config.UnsatisfiedDependencyException
- isOptional(AnnotatedElement, U) - Method in class org.jvnet.hk2.config.InjectionResolver
-
Returns true if the resolution of this injection identified by the passed annotation instance is optional
- isOverriding(Method, Class) - Static method in class org.jvnet.hk2.config.tiger.Types
- isPrimitive(Type) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Checks if the given type is a primitive type.
- isReified() - Method in class org.jvnet.hk2.config.Dom
-
This ensures no-one tried to reify this descriptor, which has an impl class the interface
- isSubClassOf(Type, Type) - Static method in class org.jvnet.hk2.config.tiger.Types
-
Checks if
subis a sub-type ofsup.
J
- join(Transaction) - Method in interface org.jvnet.hk2.config.Transactor
-
Enter a new Transaction, this method should return false if this object is already enlisted in another transaction, or cannot be enlisted with the passed transaction.
- join(Transaction) - Method in class org.jvnet.hk2.config.WriteableView
-
Enter a new Transaction, this method should return false if this object is already enlisted in another transaction, or cannot be enlisted with the passed transaction.
K
- key - Variable in class org.jvnet.hk2.config.ConfigModel
-
If this model has any property that works as a key.
- key() - Element in annotation interface org.jvnet.hk2.config.Attribute
-
Indicates that this property becomes the name of the component.
- key() - Element in annotation interface org.jvnet.hk2.config.Element
-
Indicates that this property becomes the name of the component.
- KEY - Static variable in class org.jvnet.hk2.config.ConfigMetadata
-
The name of the property used as a key for exposing inhabitants, as well as resolving references.
- KEYED_AS - Static variable in class org.jvnet.hk2.config.ConfigMetadata
-
If the
target typeis keyed, the FQCN that defines the key field. - keyedAs - Variable in class org.jvnet.hk2.config.ConfigModel
-
Fully-qualified name under which this type is indexed.
- KILOBYTES - Static variable in annotation interface org.jvnet.hk2.config.Units
L
- leafElement(String) - Method in class org.jvnet.hk2.config.Dom
-
Picks up one leaf-element value.
- leafElements(String) - Method in class org.jvnet.hk2.config.Dom
-
Picks up all leaf-element values of the given name.
- lifecycleEvent(InstanceLifecycleEvent) - Method in class org.jvnet.hk2.config.provider.internal.ConfigInstanceListener
- local() - Element in annotation interface org.jvnet.hk2.config.Configured
-
Designates the configuration element as local element.
- lockTimeOutInSeconds - Static variable in class org.jvnet.hk2.config.ConfigSupport
M
- make(ServiceLocator, XMLStreamReader, T, ConfigModel) - Method in class org.jvnet.hk2.config.DomDocument
- MEGABYTES - Static variable in annotation interface org.jvnet.hk2.config.Units
- MessageInterpolatorImpl - Class in org.jvnet.hk2.config
-
Custom MessageInterpolatorImpl for HK2 This message interpolator is different from the default one in the following ways: 1.
- MessageInterpolatorImpl() - Constructor for class org.jvnet.hk2.config.MessageInterpolatorImpl
- METHOD_ACTUAL - Static variable in annotation interface org.jvnet.hk2.config.GenerateServiceFromMethod
-
This is the key in the metadata that will contain the actual type of the List return type of the method where the user-supplied annotation has been placed
- METHOD_NAME - Static variable in annotation interface org.jvnet.hk2.config.GenerateServiceFromMethod
-
This is the key in the metadata that will contain the name of the method where the user-supplied annotation has been placed
- MILLISECONDS - Static variable in annotation interface org.jvnet.hk2.config.Units
- MINUTES - Static variable in annotation interface org.jvnet.hk2.config.Units
- model - Variable in class org.jvnet.hk2.config.Dom
-
Model drives the interpretation of this DOM.
- models - Variable in class org.jvnet.hk2.config.DomDocument
- MultipleAttributeChanges(String, String[]) - Constructor for class org.jvnet.hk2.config.ConfigSupport.MultipleAttributeChanges
N
- name() - Element in annotation interface org.jvnet.hk2.config.Configured
-
XML element name that this configured object maps to.
- Node(ConfigModel, String) - Constructor for class org.jvnet.hk2.config.ConfigModel.Node
- nodeByTypeElement(Class<T>) - Method in class org.jvnet.hk2.config.Dom
- nodeByTypeElements(Class<T>) - Method in class org.jvnet.hk2.config.Dom
- nodeElement(String) - Method in class org.jvnet.hk2.config.Dom
-
Picks up one node-element value.
- nodeElements(String) - Method in class org.jvnet.hk2.config.Dom
-
Picks up all node-elements that have the given element name.
- NOOP - Static variable in interface org.jvnet.hk2.config.Translator
-
Translatorthat does nothing. - NoopConfigInjector - Class in org.jvnet.hk2.config
-
Used for bringing in
ConfigBeanProxyto the habitat. - NoopConfigInjector() - Constructor for class org.jvnet.hk2.config.NoopConfigInjector
- NotProcessed - Class in org.jvnet.hk2.config
-
An explanation of a change could not be processed.
- NotProcessed(String) - Constructor for class org.jvnet.hk2.config.NotProcessed
O
- ObservableBean - Interface in org.jvnet.hk2.config
-
Implementation of a @Configured object can optionally fire configuration change events when it's mutated.
- OnDeleteCascade - Class in org.jvnet.hk2.config
-
Usage:
class ExampleDocument extends DomDocument{ - OnDeleteCascade() - Constructor for class org.jvnet.hk2.config.OnDeleteCascade
- openBinary(JPackage, String) - Method in class org.jvnet.hk2.config.generator.ConfigInjectorGenerator.FilerCodeWriter
- openSource(JPackage, String) - Method in class org.jvnet.hk2.config.generator.ConfigInjectorGenerator.FilerCodeWriter
- org.jvnet.hk2.config - package org.jvnet.hk2.config
- org.jvnet.hk2.config.api - package org.jvnet.hk2.config.api
- org.jvnet.hk2.config.generator - package org.jvnet.hk2.config.generator
- org.jvnet.hk2.config.generator.apt - package org.jvnet.hk2.config.generator.apt
- org.jvnet.hk2.config.provider - package org.jvnet.hk2.config.provider
- org.jvnet.hk2.config.provider.internal - package org.jvnet.hk2.config.provider.internal
- org.jvnet.hk2.config.tiger - package org.jvnet.hk2.config.tiger
P
- parent() - Method in class org.jvnet.hk2.config.ConfigBean
- parent() - Method in class org.jvnet.hk2.config.Dom
-
If this DOM is a child of another DOM, the parent pointer.
- PARENT_CONFIGURED - Static variable in annotation interface org.jvnet.hk2.config.GenerateServiceFromMethod
-
This is the key in the metadata that will contain the fully qualified class name of the class marked
Configuredthat contains this annotation - parse(URL) - Method in class org.jvnet.hk2.config.ConfigParser
- parse(URL, DomDocument) - Method in class org.jvnet.hk2.config.ConfigParser
- parse(URL, DomDocument, Dom) - Method in class org.jvnet.hk2.config.ConfigParser
- parse(XMLStreamReader) - Method in class org.jvnet.hk2.config.ConfigParser
- parse(XMLStreamReader, DomDocument) - Method in class org.jvnet.hk2.config.ConfigParser
- parse(XMLStreamReader, DomDocument, Dom) - Method in class org.jvnet.hk2.config.ConfigParser
- performOn(T) - Method in interface org.jvnet.hk2.config.TransactionCallBack
-
Is performed after the action has been completed
- populateConfig(ServiceLocator) - Method in class org.jvnet.hk2.config.ConfigurationPopulator
- Populator - Interface in org.jvnet.hk2.config
-
Populates
Habitat. - postConstruct() - Method in class org.jvnet.hk2.config.Transactions
- preDestroy() - Method in class org.jvnet.hk2.config.Transactions
- prepare() - Method in interface org.jvnet.hk2.config.provider.ConfigTransaction
-
Locks changes, calls prepare.
- PrimitiveDataType - Class in org.jvnet.hk2.config
-
Represents a Java primitive (and its wrapper) data type.
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.jvnet.hk2.config.generator.ConfigInjectorGenerator
- Property(String) - Constructor for class org.jvnet.hk2.config.ConfigModel.Property
- proxyType(T) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Returns the type of configuration object this config proxy represents.
R
- rawAttribute(String) - Method in class org.jvnet.hk2.config.Dom
-
Obtians the attribute value without variable expansion.
- rawLeafElement(String) - Method in class org.jvnet.hk2.config.Dom
-
Picks up one leaf-element value without variable expansion.
- rawLeafElements(String) - Method in class org.jvnet.hk2.config.Dom
-
Picks up all leaf-element values of the given name, without variable expansion.
- readValue(ConfigBean, String, Object) - Method in interface org.jvnet.hk2.config.ConfigBeanInterceptor
-
Notification of an attribute read
- readValue(ConfigBean, String, Object) - Method in class org.jvnet.hk2.config.OnDeleteCascade
- reference() - Element in annotation interface org.jvnet.hk2.config.Attribute
-
Indicates that this property is a reference to another configured inhabitant.
- reference() - Element in annotation interface org.jvnet.hk2.config.Element
-
Indicates that this property is a reference to another configured inhabitant.
- reference(Dom, String, Class<T>) - Method in class org.jvnet.hk2.config.ConfigInjector
-
Resolves a reference to the given type by the given id.
- release() - Method in class org.jvnet.hk2.config.Dom
- releaseCache() - Method in class org.jvnet.hk2.config.Dom
- REMOVE - Enum constant in enum class org.jvnet.hk2.config.Changed.TYPE
- removeChild(Dom) - Method in class org.jvnet.hk2.config.Dom
-
Removes an existing
Dom.NodeChild - removeLeafElement(String, String) - Method in class org.jvnet.hk2.config.Dom
- removeListener(ConfigListener) - Method in class org.jvnet.hk2.config.Dom
- removeListener(ConfigListener) - Method in interface org.jvnet.hk2.config.ObservableBean
-
Remove a listener
- removeListenerForType(Class, ConfigListener) - Method in class org.jvnet.hk2.config.Transactions
-
removes a listener for a particular config type
- removeTransactionsListener(TransactionListener) - Method in class org.jvnet.hk2.config.Transactions
-
Removes an existing listener for transaction events
- removeVetoableChangeListener(VetoableChangeListener) - Method in interface org.jvnet.hk2.config.ConstrainedBeanListener
- replaceChild(Dom, String, Dom) - Method in class org.jvnet.hk2.config.Dom
-
Replaces an existing
Dom.NodeChildwith another one. - required() - Element in annotation interface org.jvnet.hk2.config.Attribute
-
Indicates that this attribute is required.
- required() - Element in annotation interface org.jvnet.hk2.config.Element
-
Indicates that this element is required.
- resolveReference(String, String) - Method in class org.jvnet.hk2.config.Dom
-
Recursively decends the DOM tree and finds a DOM that has the given key and the type name.
- RetryableException - Exception in org.jvnet.hk2.config
-
RetryableException indicates that an operation failed to execute property but could be successful in a later attempt
- RetryableException() - Constructor for exception org.jvnet.hk2.config.RetryableException
- revealProxy(T) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Unwrap HK2 proxy to ConfigBeanProxy.
- rollback() - Method in interface org.jvnet.hk2.config.provider.ConfigTransaction
-
Cancels the transaction, locking it out from further changes.
- rollback() - Method in class org.jvnet.hk2.config.Transaction
-
Rollbacks all participants to this transaction.
- run() - Method in class org.jvnet.hk2.config.InjectionManager.InjectClass
- run() - Method in class org.jvnet.hk2.config.InjectionManager.InjectField
- run() - Method in class org.jvnet.hk2.config.InjectionManager.InjectFields
- run() - Method in class org.jvnet.hk2.config.InjectionManager.InjectMethod
- run() - Method in class org.jvnet.hk2.config.InjectionManager.InjectMethods
- run(ConfigBeanProxy...) - Method in interface org.jvnet.hk2.config.ConfigCode
-
Runs the following command passing the configration object.
- run(ConfigParser) - Method in interface org.jvnet.hk2.config.Populator
- run(T) - Method in interface org.jvnet.hk2.config.SingleConfigCode
-
Runs the following command passing the configration object.
S
- scope() - Element in annotation interface org.jvnet.hk2.config.GenerateServiceFromMethod
-
The scope that the descriptor should take.
- SECONDS - Static variable in annotation interface org.jvnet.hk2.config.Units
- set(Dom, Object) - Method in class org.jvnet.hk2.config.ConfigModel.Property
-
Sets the value to
Dom. - setCache(Object) - Method in class org.jvnet.hk2.config.Dom
- setDefaultNamespace(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- setImplementationType(Type) - Method in class org.jvnet.hk2.config.Dom
- setImplementationType(Type) - Method in class org.jvnet.hk2.config.DomDescriptor
- setIndentStep(int) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
-
Deprecated.Should use the version that takes string.
- setIndentStep(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- setLeafElements(String, String...) - Method in class org.jvnet.hk2.config.Dom
-
Updates leaf-element values.
- setMasterView(ConfigView) - Method in class org.jvnet.hk2.config.ConfigBean
- setMasterView(ConfigView) - Method in interface org.jvnet.hk2.config.ConfigView
- setMasterView(ConfigView) - Method in class org.jvnet.hk2.config.WriteableView
- setNamespaceContext(NamespaceContext) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- setNodeElements(String, Dom...) - Method in class org.jvnet.hk2.config.Dom
-
Updates node-element values.
- setObjectName(ObjectName) - Method in class org.jvnet.hk2.config.ConfigBean
- setPrefix(String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- setter(ConfigModel.Property, Object) - Method in class org.jvnet.hk2.config.ConfigBean
- setter(ConfigModel.Property, Object) - Method in class org.jvnet.hk2.config.Dom
- setter(ConfigModel.Property, Object, Type) - Method in class org.jvnet.hk2.config.WriteableView
- setTranslator(Translator) - Method in class org.jvnet.hk2.config.DomDocument
- SingleAttributeChange(String, String) - Constructor for class org.jvnet.hk2.config.ConfigSupport.SingleAttributeChange
- SingleConfigCode<T extends ConfigBeanProxy> - Interface in org.jvnet.hk2.config
-
SimpleConfigCode is code snippet that can be used to apply some configuration changes to one configuration object.
- size() - Method in class org.jvnet.hk2.config.UnprocessedChangeEvents
- skipFromXml() - Method in class org.jvnet.hk2.config.Dom
-
This method should be invoked if this Dom should not be persisted to the domain.xml file.
- sortAndDispatch(PropertyChangeEvent[], Changed) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Sort events and dispatch the changes.
- sortAndDispatch(PropertyChangeEvent[], Changed, Logger) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Sort events and dispatch the changes.
- stripMarkers(String) - Static method in class org.jvnet.hk2.config.WriteableView
-
remove @ or <> eg "@foo" => "foo" or "
" => "foo" - submit(Callable<V>) - Method in class org.jvnet.hk2.config.WorkManager
- submitAll(Collection<Callable<V>>) - Method in class org.jvnet.hk2.config.WorkManager
- symbolSpace() - Element in annotation interface org.jvnet.hk2.config.Configured
-
Designates that a configured component creates a new symbol space for given kinds of children.
- syncDoInject(Object, Class, InjectionResolver...) - Method in class org.jvnet.hk2.config.InjectionManager
-
Initializes the component by performing injection.
- SYS_PROP_TR - Static variable in interface org.jvnet.hk2.config.Translator
-
A translator that does translation from the system properties.
T
- TARGET - Static variable in class org.jvnet.hk2.config.ConfigMetadata
-
Fully qualified name of the target class that an injector works with.
- TARGET_CONTRACTS - Static variable in class org.jvnet.hk2.config.ConfigMetadata
-
Contracts that the target type implements.
- TARGET_HABITATS - Static variable in class org.jvnet.hk2.config.ConfigMetadata
-
Target habitats in which this service should reside.
- targets - Variable in class org.jvnet.hk2.config.InjectionManager.InjectContext
- targetTypeName - Variable in class org.jvnet.hk2.config.ConfigModel
-
Fully-qualified name of the target type that this injector works on.
- toDom(Object) - Method in class org.jvnet.hk2.config.ConfigModel.Node
-
Coerce the given type to
Dom. - toProperty(Method) - Method in class org.jvnet.hk2.config.ConfigModel
-
Obtain XML names (like "abc-def") from strings like "getAbcDef" and "hasAbcDef".
- toString() - Method in class org.jvnet.hk2.config.UnprocessedChangeEvent
- toString() - Method in class org.jvnet.hk2.config.UnprocessedChangeEvents
- Transaction - Class in org.jvnet.hk2.config
-
Simple transaction mechanism for config-api objects
- Transaction() - Constructor for class org.jvnet.hk2.config.Transaction
- TransactionCallBack<T> - Interface in org.jvnet.hk2.config
-
Transactional callback
- transactionCommited(List<PropertyChangeEvent>) - Method in interface org.jvnet.hk2.config.TransactionListener
-
Notification of a transaction with the list of property changes.
- TransactionFailure - Exception in org.jvnet.hk2.config
-
Simple transaction failure exception
- TransactionFailure(String) - Constructor for exception org.jvnet.hk2.config.TransactionFailure
-
Constructs a new exception with the specified detail message and cause.
- TransactionFailure(String, Throwable) - Constructor for exception org.jvnet.hk2.config.TransactionFailure
-
Constructs a new exception with the specified detail message and cause.
- TransactionListener - Interface in org.jvnet.hk2.config
-
Listener interface for objects interested in transaction events on the config beans.
- Transactions - Class in org.jvnet.hk2.config
-
Transactions is a singleton service that receives transaction notifications and dispatch these notifications asynchronously to listeners.
- Transactions() - Constructor for class org.jvnet.hk2.config.Transactions
- Transactor - Interface in org.jvnet.hk2.config
-
Any object that want to be part of a configuration transaction should implement this interface.
- transform(T) - Method in interface org.jvnet.hk2.config.Transformer
-
Returns a different view of the source object.
- Transformer - Interface in org.jvnet.hk2.config
-
Transfomer can transform a source object into a destination object, usually providing a different view of the original object.
- translate(String) - Method in interface org.jvnet.hk2.config.Translator
- translate(String) - Method in class org.jvnet.hk2.config.VariableResolver
- TranslationException - Exception in org.jvnet.hk2.config
-
Indicates a failure in
Translator.translate(String). - TranslationException(String) - Constructor for exception org.jvnet.hk2.config.TranslationException
- TranslationException(String, Throwable) - Constructor for exception org.jvnet.hk2.config.TranslationException
- Translator - Interface in org.jvnet.hk2.config
-
Used to perform string pre-processing on values found in the configuration file.
- trimPrefix(String) - Static method in class org.jvnet.hk2.config.ConfigModel
- type - Variable in class org.jvnet.hk2.config.InjectionResolver
- Types - Class in org.jvnet.hk2.config.tiger
-
Type arithmetic functions.
- Types() - Constructor for class org.jvnet.hk2.config.tiger.Types
U
- units() - Element in annotation interface org.jvnet.hk2.config.Units
-
Units should always be lower-case and appropriate for human viewing.
- Units - Annotation Interface in org.jvnet.hk2.config
-
Units annotation to be used on @Configured interfaces.
- UnprocessedChangeEvent - Class in org.jvnet.hk2.config
-
Carries the PropertyChangeEvent and the reason it could not be processed.
- UnprocessedChangeEvent(PropertyChangeEvent, String) - Constructor for class org.jvnet.hk2.config.UnprocessedChangeEvent
- UnprocessedChangeEvents - Class in org.jvnet.hk2.config
-
Collects change events that could not be processed.
- UnprocessedChangeEvents(List<UnprocessedChangeEvent>) - Constructor for class org.jvnet.hk2.config.UnprocessedChangeEvents
- UnprocessedChangeEvents(UnprocessedChangeEvent) - Constructor for class org.jvnet.hk2.config.UnprocessedChangeEvents
- unprocessedTransactedEvents(List<UnprocessedChangeEvents>) - Method in interface org.jvnet.hk2.config.TransactionListener
-
Nofication of unprocessed events by ConfigListener, usually requiring a server restart.
- UnsatisfiedDependencyException - Exception in org.jvnet.hk2.config
-
Exception thrown by the injection manager when a dependency is not satisfied when performing injection.
- UnsatisfiedDependencyException(AnnotatedElement) - Constructor for exception org.jvnet.hk2.config.UnsatisfiedDependencyException
-
Deprecated.
- UnsatisfiedDependencyException(AnnotatedElement, Annotation) - Constructor for exception org.jvnet.hk2.config.UnsatisfiedDependencyException
- UnsatisfiedDependencyException(AnnotatedElement, Annotation, Throwable) - Constructor for exception org.jvnet.hk2.config.UnsatisfiedDependencyException
- UnsatisfiedDependencyException(Type, Class<?>, Annotation, Throwable) - Constructor for exception org.jvnet.hk2.config.UnsatisfiedDependencyException
- unwrap(ConfigBeanProxy) - Static method in class org.jvnet.hk2.config.Dom
-
Unwraps the proxy and returns the underlying
Domobject. - updated(Object, PropertyChangeEvent) - Method in interface org.jvnet.hk2.config.provider.ConfigTransaction
-
Mark configuration beans as having been updated (note that name and metadata cannot change here).
- updated(Collection<?>) - Method in interface org.jvnet.hk2.config.provider.ConfigTransaction
- USER_VALIDATION_MESSAGES - Static variable in class org.jvnet.hk2.config.MessageInterpolatorImpl
-
The name of the user-provided message bundle as defined in the specification.
V
- validate(String) - Method in interface org.jvnet.hk2.config.DataType
-
Checks if given value can be had by the abstract data type represented by this implementation.
- validate(String) - Method in class org.jvnet.hk2.config.PrimitiveDataType
- ValidationException - Exception in org.jvnet.hk2.config
- ValidationException() - Constructor for exception org.jvnet.hk2.config.ValidationException
- ValidationException(String) - Constructor for exception org.jvnet.hk2.config.ValidationException
- ValidationException(Throwable) - Constructor for exception org.jvnet.hk2.config.ValidationException
- value() - Element in annotation interface org.jvnet.hk2.config.Attribute
-
Attribute name.
- value() - Element in annotation interface org.jvnet.hk2.config.ConfigExtensionMethod
- value() - Element in annotation interface org.jvnet.hk2.config.ConfiguredBy
-
Configuredclass that the component will be associated with. - value() - Element in annotation interface org.jvnet.hk2.config.Element
-
Element name.
- value() - Element in annotation interface org.jvnet.hk2.config.InjectionTarget
- valueOf(String) - Static method in enum class org.jvnet.hk2.config.Changed.TYPE
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.jvnet.hk2.config.Changed.TYPE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variableExpansion() - Element in annotation interface org.jvnet.hk2.config.Attribute
-
Indicates that the variable expansion should be performed on this proeprty.
- variableExpansion() - Element in annotation interface org.jvnet.hk2.config.Element
-
Indicates that the variable expansion should be performed on this proeprty.
- VariableResolver - Class in org.jvnet.hk2.config
-
Translatorthat does variable resolution in the Ant style. - VariableResolver() - Constructor for class org.jvnet.hk2.config.VariableResolver
- VersionedConfigBeanProxy - Interface in org.jvnet.hk2.config
W
- waitForDrain() - Method in class org.jvnet.hk2.config.Transactions
- WorkManager - Class in org.jvnet.hk2.config
-
Simple helper for managing work sent to a foreign executor service.
- WorkManager(Executor) - Constructor for class org.jvnet.hk2.config.WorkManager
- WorkManager(Executor, int) - Constructor for class org.jvnet.hk2.config.WorkManager
- WorkManager.ExecutionException - Exception in org.jvnet.hk2.config
- WriteableView - Class in org.jvnet.hk2.config
-
A WriteableView is a view of a ConfigBean object that allow access to the setters of the ConfigBean.
- WriteableView(ConfigBeanProxy) - Constructor for class org.jvnet.hk2.config.WriteableView
- writeAttribute(String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeAttribute(String, String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeAttribute(String, String, String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeCData(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeCharacters(char[], int, int) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeCharacters(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeComment(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeDefaultNamespace(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeDTD(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeEmptyElement(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeEmptyElement(String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeEmptyElement(String, String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeEndDocument() - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeEndElement() - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeEntityRef(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeNamespace(String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeProcessingInstruction(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeProcessingInstruction(String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeStartDocument() - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeStartDocument(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeStartDocument(String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeStartElement(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeStartElement(String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeStartElement(String, String, String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
- writeTo(String, XMLStreamWriter) - Method in class org.jvnet.hk2.config.Dom
-
Writes back this element.
- writeTo(XMLStreamWriter) - Method in class org.jvnet.hk2.config.DomDocument
-
Writes back the whole DOM tree as an XML document.
- writeToXml() - Method in class org.jvnet.hk2.config.Dom
-
This method should be invoked if this Dom needs to be persisted to domain.xml file
X
- xmlName - Variable in class org.jvnet.hk2.config.ConfigModel.Property
- xmlName() - Method in class org.jvnet.hk2.config.ConfigModel.Property
-
XML name of the property, like "abc-def".
- XMLStreamException2 - Exception in org.jvnet.hk2.config
-
To fix the problem in StAX API where exceptions are not properly chained.
- XMLStreamException2(String) - Constructor for exception org.jvnet.hk2.config.XMLStreamException2
- XMLStreamException2(String, Throwable) - Constructor for exception org.jvnet.hk2.config.XMLStreamException2
- XMLStreamException2(String, Location) - Constructor for exception org.jvnet.hk2.config.XMLStreamException2
- XMLStreamException2(String, Location, Throwable) - Constructor for exception org.jvnet.hk2.config.XMLStreamException2
- XMLStreamException2(Throwable) - Constructor for exception org.jvnet.hk2.config.XMLStreamException2
_
- _apply(ConfigCode, ConfigBeanProxy...) - Method in class org.jvnet.hk2.config.ConfigSupport
-
Executes some logic on some config beans protected by a transaction.
- _deleteChild(ConfigBean, WriteableView, ConfigBean) - Static method in class org.jvnet.hk2.config.ConfigSupport
-
Unprotected child deletion, caller must start a transaction before calling this method.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form