A B C D E F G H I J K L M N O P R S T U V W X _

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
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
 
afterChange(PropertyChangeEvent, long) - Method in interface org.jvnet.hk2.config.ConfigBeanInterceptor
Notification that an attribute has changed
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.
annotations - Variable in class org.jvnet.hk2.config.ConfigModel.Property
 
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
apply(ConfigCode, ConfigBeanProxy...) - Static method in class org.jvnet.hk2.config.ConfigSupport
Executes some logic on some config beans protected by a transaction.
apply(Map<ConfigBean, Map<String, String>>) - Method in class org.jvnet.hk2.config.ConfigSupport
 
asBoolean(String) - Method in class org.jvnet.hk2.config.ConfigInjector
 
asInt(String) - Method in class org.jvnet.hk2.config.ConfigInjector
 
Attribute - Annotation Type in org.jvnet.hk2.config
Indicates that this property or the field value must be injected from an XML attribute in a configuration file.
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.
attributes(String) - Method in class org.jvnet.hk2.config.Dom
Obtains the plural attribute value.

B

beforeChange(PropertyChangeEvent) - Method in interface org.jvnet.hk2.config.ConfigBeanInterceptor
Notification that an attribute is about to be changed
buildModel(Class<?>) - Method in class org.jvnet.hk2.config.DomDocument
Obtains a ConfigModel for the given class (Which should have Configured annotation on it.)
buildModel(String) - Method in class org.jvnet.hk2.config.DomDocument
Obtains a ConfigModel for the given class (Which should have Configured annotation on it.)
BYTES - Static variable in annotation type org.jvnet.hk2.config.Units
 

C

CagedConfiguredCreator<T> - Class in org.jvnet.hk2.config
 
CagedConfiguredCreator(Creator, Dom, CageBuilder) - Constructor for class org.jvnet.hk2.config.CagedConfiguredCreator
 
camelCaseToXML(String) - 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
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(Changed.TYPE, Class<T>, T) - Method in interface org.jvnet.hk2.config.Changed
Notification of a change on a configuration object
changed(PropertyChangeEvent[]) - Method in interface org.jvnet.hk2.config.ConfigListener
Notification that @Configured objects that were injected have changed
Changed.TYPE - Enum in org.jvnet.hk2.config
type of change on a particular instance
changeLeafElement(String, String, String) - Method in class org.jvnet.hk2.config.Dom
 
classHolder - Variable in class org.jvnet.hk2.config.ConfigModel
Deferred reference to the class object that can load the configurable type
classLoaderHolder - Variable in class org.jvnet.hk2.config.ConfigModel
Deferred reference to the class loader that loaded the injector.
commit() - Method in class org.jvnet.hk2.config.Transaction
Commits all participants to this transaction
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.
ConfigBean - Class in org.jvnet.hk2.config
ConfigBean is the core implementation of the config beans.
ConfigBean(Habitat, 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.
ConfigBeanProxy.Duck - Class in org.jvnet.hk2.config
 
ConfigBeanProxy.Duck() - Constructor for class org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
ConfigCode - Interface in org.jvnet.hk2.config
Allows multiple object as part of the transaction but requires manual casting.
ConfigInjector<T> - Class in org.jvnet.hk2.config
Inject configuration values to the object.
ConfigInjector() - Constructor for class org.jvnet.hk2.config.ConfigInjector
 
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, Inhabitant<? extends ConfigInjector>, MultiMap<String, String>) - Constructor for class org.jvnet.hk2.config.ConfigModel
 
ConfigModel.Node - Class in org.jvnet.hk2.config
 
ConfigModel.Node(ConfigModel, String) - Constructor for class org.jvnet.hk2.config.ConfigModel.Node
 
ConfigModel.Property - Class in org.jvnet.hk2.config
 
ConfigModel.Property(String) - Constructor for class org.jvnet.hk2.config.ConfigModel.Property
 
ConfigParser - Class in org.jvnet.hk2.config
Parses configuration files, builds Inhabitants, and add them to Habitat.
ConfigParser(Habitat) - Constructor for class org.jvnet.hk2.config.ConfigParser
 
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.AttributeChanges - Class in org.jvnet.hk2.config
 
ConfigSupport.MultipleAttributeChanges - Class in org.jvnet.hk2.config
 
ConfigSupport.MultipleAttributeChanges(String, String[]) - Constructor for class org.jvnet.hk2.config.ConfigSupport.MultipleAttributeChanges
 
ConfigSupport.SingleAttributeChange - Class in org.jvnet.hk2.config
 
ConfigSupport.SingleAttributeChange(String, String) - Constructor for class org.jvnet.hk2.config.ConfigSupport.SingleAttributeChange
 
ConfigSupport.TransactionCallBack<T> - Interface in org.jvnet.hk2.config
 
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, Throwable) - Constructor for exception org.jvnet.hk2.config.ConfigurationException
 
Configured - Annotation Type in org.jvnet.hk2.config
Marks inhabitants that require configuration for instantiation.
ConfiguredBy - Annotation Type in org.jvnet.hk2.config
TODO: still a work in progress
ConfiguredScanner - Class in org.jvnet.hk2.config
Scanner for @Configured annotated classes
ConfiguredScanner() - Constructor for class org.jvnet.hk2.config.ConfiguredScanner
 
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.
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 type org.jvnet.hk2.config.Units
value is an arbitrary count
createAndSet(ConfigBean, Class<? extends ConfigBeanProxy>, Map<String, String>, ConfigSupport.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>, List<ConfigSupport.AttributeChanges>, ConfigSupport.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>, List<ConfigSupport.AttributeChanges>) - Method in class org.jvnet.hk2.config.ConfigSupport
 
createChild(Class<T>) - Method in interface org.jvnet.hk2.config.ConfigBeanProxy
Creates a child element of this configuration element
createChild(ConfigBeanProxy, Class<T>) - Static method in class org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
createCreator(Class) - Method in class org.jvnet.hk2.config.Dom
This is how we inject the configuration into the created object.
createProxy(Class<T>) - Method in class org.jvnet.hk2.config.Dom
Creates a strongly-typed proxy to access values in this Dom object, by using the specified interface type as the proxy type.
createProxy() - Method in class org.jvnet.hk2.config.Dom
Creates a strongly-typed proxy to access values in this Dom object,
currentListeners() - Method in class org.jvnet.hk2.config.Transactions
 

D

DataType - Interface in org.jvnet.hk2.config
Denotes the type of the data a particular config element (attribute, element) should have.
DAYS - Static variable in annotation type org.jvnet.hk2.config.Units
 
deepCopy(ConfigBeanProxy) - Method in interface org.jvnet.hk2.config.ConfigBeanProxy
Performs a deep copy of this configuration element and returns it.
deepCopy(ConfigBeanProxy, ConfigBeanProxy) - Static method in class org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
DEFAULT_VALIDATION_MESSAGES - Static variable in class org.jvnet.hk2.config.MessageInterpolatorImpl
The name of the default message bundle.
deleteChild(ConfigBean, ConfigBean) - Static method in class org.jvnet.hk2.config.ConfigSupport
 
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
Inhabitant that loads configuration from XML.
Dom(Habitat, DomDocument, Dom, ConfigModel, XMLStreamReader) - Constructor for class org.jvnet.hk2.config.Dom
 
Dom(Habitat, DomDocument, Dom, ConfigModel) - 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
DomDocument<T extends Dom> - Class in org.jvnet.hk2.config
Represents a whole DOM tree.
DomDocument(Habitat) - 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.
DuckTyped - Annotation Type in org.jvnet.hk2.config
Indicates that this method on ConfigBeanProxy is a duck-typed method that are implemented by the static method on the nested static Duck class.

E

element(String) - Method in class org.jvnet.hk2.config.Dom
Returns the child element by name
Element - Annotation Type in org.jvnet.hk2.config
Indicates that this property or the field value must be injected from an XML element in a configuration file.
enroll(T) - Method in class org.jvnet.hk2.config.Transaction
Enroll a configuration object in a transaction and returns a writeable view of it

F

findIgnoreCase(String) - Method in class org.jvnet.hk2.config.ConfigModel
Finds the ConfigModel.Property from either ConfigModel.elements or ConfigModel.attributes.

G

get(Dom, Type) - Method in class org.jvnet.hk2.config.ConfigModel.Property
Gets the value from Dom in the specified type.
getAllModelsImplementing(Class) - Method in class org.jvnet.hk2.config.DomDocument
Calculates all @Configured interfaces subclassing the passed interface type.
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
getConfiguration() - Method in interface org.jvnet.hk2.config.ConfigBeanInterceptor
Interceptor can usually be configured, allowing for customizing how the interceptor should behave or do.
getDuckMethod(Method) - Method in class org.jvnet.hk2.config.ConfigModel
Obtains the duck method implementation from a method on the ConfigBeanProxy-derived interface.
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
 
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.
getIndentStep() - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
Deprecated. Only return the length of the indent string.
getInjector() - Method in class org.jvnet.hk2.config.Dom
Gets the ConfigInjector instance 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.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 Dom loaded 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.ConfigurationException
 
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 ConfigModel from the "global" element name.
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(ConfigBeanProxy) - Static method in class org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
getParent(ConfigBeanProxy, Class<T>) - Static method in class org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
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.
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
 
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
 
getSubElementsTypes(ConfigBean) - Static method in class org.jvnet.hk2.config.ConfigSupport
Returns the list of sub-elements supported by a ConfigBean
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(T) - Static method in class org.jvnet.hk2.config.Transaction
Returns the transaction associated with a writable view
getTransaction() - Method in class org.jvnet.hk2.config.WriteableView
 
getTranslator() - Method in class org.jvnet.hk2.config.DomDocument
 
getUnprocessed() - Method in class org.jvnet.hk2.config.UnprocessedChangeEvents
 
getVariableValue(String) - Method in class org.jvnet.hk2.config.VariableResolver
Returns the value of the variable.
getWhen() - Method in class org.jvnet.hk2.config.UnprocessedChangeEvent
 
getWriteableView(T) - Method in class org.jvnet.hk2.config.ConfigSupport
Returns a writeable view of a configuration object
GIGABYTES - Static variable in annotation type 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 Dom tree.
handleElement(XMLStreamReader, DomDocument, Dom, ConfigModel) - Method in class org.jvnet.hk2.config.ConfigParser
Parses a whole XML tree and builds a Dom tree, by using the given model for the top-level element.
HOURS - Static variable in annotation type org.jvnet.hk2.config.Units
 

I

IndentingXMLStreamWriter - Class in org.jvnet.hk2.config
 
IndentingXMLStreamWriter(XMLStreamWriter) - Constructor for class org.jvnet.hk2.config.IndentingXMLStreamWriter
 
initializationCompleted() - Method in class org.jvnet.hk2.config.Dom
 
initialize(T, Inhabitant) - Method in class org.jvnet.hk2.config.CagedConfiguredCreator
 
inject(Dom, T) - Method in class org.jvnet.hk2.config.ConfigInjector
Reads values from Dom and inject them into the given target object.
inject(Object) - Method in class org.jvnet.hk2.config.Dom
Performs injection to the given object.
inject(Dom, 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.
injectAttribute(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.
injectElement(Dom, String, Object) - Method in class org.jvnet.hk2.config.NoopConfigInjector
 
injectInto(Dom, Object) - Method in class org.jvnet.hk2.config.Dom
 
InjectionTarget - Annotation Type in org.jvnet.hk2.config
Used on ConfigInjector to indicate the target class of the injection.
injector - Variable in class org.jvnet.hk2.config.ConfigModel
Reference to the ConfigInjector used to inject values to objects of this model.
insertAfter(Dom, String, Dom) - Method in class org.jvnet.hk2.config.Dom
Inserts a new Dom node 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
InvocationHandler implementation that allows strongly-typed access to the configuration.
invoke(Object, String, Class[], Object[]) - Method in class org.jvnet.hk2.config.Dom
Another version of the Dom.invoke(Object, Method, Object[]), but instead of Method object, it takes the method name and argument types.
invoke(Object, Method, Object[]) - Method in class org.jvnet.hk2.config.WriteableView
 
isCollection() - Method in class org.jvnet.hk2.config.ConfigModel.Property
Is multiple values allowed?
isLeaf() - Method in class org.jvnet.hk2.config.ConfigModel.Node
 
isLeaf() - Method in class org.jvnet.hk2.config.ConfigModel.Property
 

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 - 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.
key - Variable in class org.jvnet.hk2.config.ConfigModel
If this model has any property that works as a key.
KEYED_AS - Static variable in class org.jvnet.hk2.config.ConfigMetadata
If the target type is 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 type 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.
lockTimeOutInSeconds - Static variable in class org.jvnet.hk2.config.ConfigSupport
 

M

make(Habitat, XMLStreamReader, T, ConfigModel) - Method in class org.jvnet.hk2.config.DomDocument
 
MEGABYTES - Static variable in annotation type org.jvnet.hk2.config.Units
 
MessageInterpolatorImpl - Class in org.jvnet.hk2.config
 
MessageInterpolatorImpl() - Constructor for class org.jvnet.hk2.config.MessageInterpolatorImpl
 
MILLISECONDS - Static variable in annotation type org.jvnet.hk2.config.Units
 
MINUTES - Static variable in annotation type 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
 

N

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
Translator that does nothing.
NoopConfigInjector - Class in org.jvnet.hk2.config
Used for bringing in ConfigBeanProxy to 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.
org.jvnet.hk2.config - package org.jvnet.hk2.config
 

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.
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
 
parse(URL) - Method in class org.jvnet.hk2.config.ConfigParser
Parses the given source as a config file, and adds resulting Doms into Habitat as Inhabitants.
parse(URL, DomDocument) - Method in class org.jvnet.hk2.config.ConfigParser
 
parse(URL, DomDocument, Dom) - Method in class org.jvnet.hk2.config.ConfigParser
 
parse(ParsingContext, Holder<ClassLoader>) - Method in class org.jvnet.hk2.config.ConfiguredScanner
 
performOn(T) - Method in interface org.jvnet.hk2.config.ConfigSupport.TransactionCallBack
 
postConstruct() - Method in class org.jvnet.hk2.config.Transactions
 
preDestroy() - Method in class org.jvnet.hk2.config.Transactions
 
PrimitiveDataType - Class in org.jvnet.hk2.config
Represents a Java primitive (and its wrapper) data type.
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
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
 
removeChild(Dom) - Method in class org.jvnet.hk2.config.Dom
Removes an existing 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 NodeChild with another one.
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
 
rollback() - Method in class org.jvnet.hk2.config.Transaction
Rollbacks all participants to this transaction.
run(ConfigBeanProxy...) - Method in interface org.jvnet.hk2.config.ConfigCode
Runs the following command passing the configration object.
run(T) - Method in interface org.jvnet.hk2.config.SingleConfigCode
Runs the following command passing the configration object.

S

SECONDS - Static variable in annotation type org.jvnet.hk2.config.Units
 
set(Dom, Object) - Method in class org.jvnet.hk2.config.ConfigModel.Property
Sets the value to Dom.
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
 
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
 
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
 
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
 
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"
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.
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
 
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.

U

Units - Annotation Type 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.
unwrap(ConfigBeanProxy) - Static method in class org.jvnet.hk2.config.Dom
Unwraps the proxy and returns the underlying Dom object.
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
 
valueOf(String) - Static method in enum org.jvnet.hk2.config.Changed.TYPE
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jvnet.hk2.config.Changed.TYPE
Returns an array containing the constants of this enum type, in the order they are declared.
VariableResolver - Class in org.jvnet.hk2.config
Translator that does variable resolution in the Ant style.
VariableResolver() - Constructor for class org.jvnet.hk2.config.VariableResolver
 

W

waitForDrain() - Method in class org.jvnet.hk2.config.Transactions
 
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
 
writeCData(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
 
writeCharacters(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
 
writeCharacters(char[], int, int) - 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
 
writeEmptyElement(String) - Method in class org.jvnet.hk2.config.IndentingXMLStreamWriter
 
writeEndElement() - 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.

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(Throwable) - Constructor for exception org.jvnet.hk2.config.XMLStreamException2
 
XMLStreamException2(String, Throwable) - Constructor for exception org.jvnet.hk2.config.XMLStreamException2
 
XMLStreamException2(String, Location, Throwable) - Constructor for exception org.jvnet.hk2.config.XMLStreamException2
 
XMLStreamException2(String, Location) - 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.

A B C D E F G H I J K L M N O P R S T U V W X _

Copyright © 2012 Oracle Corporation. All Rights Reserved.