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>
TheDefaultsProcessoris responsible for processing the <defaults>XmlElementin 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 booleanisRegisterable(Class<?> clzResource)Determines if the specifiedClassof resource should be registered with aResourceRegistry.Voidprocess(ProcessingContext context, XmlElement element)Process anXmlElementto return a specific type of value.
-
-
-
Method Detail
-
process
public Void process(ProcessingContext context, XmlElement element) throws ConfigurationException
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
protected boolean isRegisterable(Class<?> clzResource)
Determines if the specifiedClassof resource should be registered with aResourceRegistry.- Parameters:
clzResource- theClassof resource- Returns:
trueif the resource should be registered
-
-