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>
TheDefaultsProcessor
is responsible for processing the <defaults>XmlElement
in a Coherence Cache Configuration file, registering each of the processed elements with theResourceRegistry
.- Since:
- Coherence 12.1.3
- Author:
- bo 2013.12.01
-
-
Constructor Summary
Constructors Constructor Description DefaultsProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isRegisterable(Class<?> clzResource)
Determines if the specifiedClass
of resource should be registered with aResourceRegistry
.Void
process(ProcessingContext context, XmlElement element)
Process anXmlElement
to return a specific type of value.
-
-
-
Method Detail
-
process
public Void process(ProcessingContext context, XmlElement element) throws ConfigurationException
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
protected boolean isRegisterable(Class<?> clzResource)
Determines if the specifiedClass
of resource should be registered with aResourceRegistry
.- Parameters:
clzResource
- theClass
of resource- Returns:
true
if the resource should be registered
-
-