Class DefaultsProcessor
java.lang.Object
com.tangosol.coherence.config.xml.processor.DefaultsProcessor
- All Implemented Interfaces:
ElementProcessor<Void>
@XmlSimpleName("defaults")
public class DefaultsProcessor
extends Object
implements ElementProcessor<Void>
The
DefaultsProcessor is responsible for processing the <defaults> XmlElement
in a Coherence Cache Configuration file, registering each of the processed elements with
the ResourceRegistry.- Since:
- Coherence 12.1.3
- Author:
- bo 2013.12.01
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisRegisterable(Class<?> clzResource) Determines if the specifiedClassof resource should be registered with aResourceRegistry.process(ProcessingContext context, XmlElement element) Process anXmlElementto return a specific type of value.
-
Constructor Details
-
DefaultsProcessor
public DefaultsProcessor()
-
-
Method Details
-
process
Description copied from interface:ElementProcessorProcess anXmlElementto return a specific type of value.- Specified by:
processin interfaceElementProcessor<Void>- Parameters:
context- theProcessingContextin which theXmlElementis being processedelement- theXmlElementto process- Returns:
- a value of type T
- Throws:
ConfigurationException- when a configuration problem was encountered
-
isRegisterable
Determines if the specifiedClassof resource should be registered with aResourceRegistry.- Parameters:
clzResource- theClassof resource- Returns:
trueif the resource should be registered
-