@XmlSimpleName(value="defaults") public class DefaultsProcessor extends Object implements ElementProcessor<Void>
DefaultsProcessor is responsible for processing the <defaults> XmlElement
in a Coherence Cache Configuration file, registering each of the processed elements with
the ResourceRegistry.| Constructor and Description |
|---|
DefaultsProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isRegisterable(Class<?> clzResource)
Determines if the specified
Class of resource should be registered
with a ResourceRegistry. |
Void |
process(ProcessingContext context,
XmlElement element)
Process an
XmlElement to return a specific type of value. |
public Void process(ProcessingContext context, XmlElement element) throws ConfigurationException
ElementProcessorXmlElement to return a specific type of value.process in interface ElementProcessor<Void>context - the ProcessingContext in which the
XmlElement is being processedelement - the XmlElement to processConfigurationException - when a configuration problem was encounteredprotected boolean isRegisterable(Class<?> clzResource)
Class of resource should be registered
with a ResourceRegistry.clzResource - the Class of resourcetrue if the resource should be registered