@XmlSimpleName(value="cache-config") public class CacheConfigProcessor extends Object implements ElementProcessor<CacheConfig>
CacheConfigProcessor is responsible for processing a cache-config XmlElement to produce a CacheConfig object.| Constructor and Description |
|---|
CacheConfigProcessor() |
| 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