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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isRegisterable
(Class<?> clzResource) Determines if the specifiedClass
of resource should be registered with aResourceRegistry
.process
(ProcessingContext context, XmlElement element) Process anXmlElement
to return a specific type of value.
-
Constructor Details
-
DefaultsProcessor
public DefaultsProcessor()
-
-
Method Details
-
process
Description copied from interface:ElementProcessor
Process anXmlElement
to return a specific type of value.- Specified by:
process
in interfaceElementProcessor<Void>
- Parameters:
context
- theProcessingContext
in which theXmlElement
is being processedelement
- theXmlElement
to process- Returns:
- a value of type T
- Throws:
ConfigurationException
- when a configuration problem was encountered
-
isRegisterable
Determines if the specifiedClass
of resource should be registered with aResourceRegistry
.- Parameters:
clzResource
- theClass
of resource- Returns:
true
if the resource should be registered
-