@XmlSimpleName(value="cache-config") public class ConfigurationProcessor extends Object implements ElementProcessor<CacheConfig>
ConfigurationProcessor is responsible for processing a
configuration XmlElement to produce a CacheConfig object.| Constructor and Description |
|---|
ConfigurationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
CacheConfig |
process(ProcessingContext context,
XmlElement element)
Process an
XmlElement to return a specific type of value. |
public CacheConfig process(ProcessingContext context, XmlElement element) throws ConfigurationException
XmlElement to return a specific type of value.process in interface ElementProcessor<CacheConfig>context - the ProcessingContext in which the
XmlElement is being processedelement - the XmlElement to processConfigurationException - when a configuration problem was encountered