|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface ConfigurationElement
Represents XML element from a valid Infinispan configuration file.
Each ConfigurationElement should annotate the most derived subclass of AbstractConfigurationBean that contains setter methods for XML attributes of the corresponding XML element (the one that ConfigurationElement represents)
For example, CacheLoaderManagerConfig is annotated with
@ConfigurationElement(name="loaders",parent="default")
annotation since
CacheLoaderManagerConfig is the most derived subclass of AbstractConfigurationBean that contains
setter methods for attributes contained in
XML element.
GlobalConfiguration
,
Configuration
,
CacheLoaderManagerConfig
Required Element Summary | |
---|---|
String |
name
Returns name of corresponding XML element |
String |
parent
Returns name of corresponding parent XML element. |
Optional Element Summary | |
---|---|
ConfigurationElement.Cardinality |
cardinalityInParent
Returns Cardinality.ONE if parent ConfigurationElement can have zero or one child defined by this ConfigurationElement. |
String |
description
Returns description of this element |
Element Detail |
---|
public abstract String name
public abstract String parent
public abstract ConfigurationElement.Cardinality cardinalityInParent
public abstract String description
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |