Class ResourceBuilderProcessor<T>
java.lang.Object
com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor<ParameterizedBuilder<T>>
com.tangosol.coherence.config.xml.processor.ResourceBuilderProcessor<T>
- All Implemented Interfaces:
ConditionalElementProcessor<ParameterizedBuilder<T>>
,ElementProcessor<ParameterizedBuilder<T>>
@XmlSimpleName("resource")
public class ResourceBuilderProcessor<T>
extends AbstractEmptyElementProcessor<ParameterizedBuilder<T>>
An
ElementProcessor
for <resource> elements defined by
a Coherence Operational Configuration file.- Since:
- 22.06
- Author:
- Jonathan Knight 2022.03.01
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor
AbstractEmptyElementProcessor.EmptyElementBehavior
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiononProcess
(ProcessingContext context, XmlElement element) Process anXmlElement
to return a specific type of value.Methods inherited from class com.tangosol.coherence.config.xml.processor.AbstractEmptyElementProcessor
accepts, isEmptyElement, process
-
Constructor Details
-
ResourceBuilderProcessor
public ResourceBuilderProcessor()Constructs aResourceBuilderProcessor
.
-
-
Method Details
-
onProcess
public ParameterizedBuilder<T> onProcess(ProcessingContext context, XmlElement element) throws ConfigurationException Description copied from class:AbstractEmptyElementProcessor
Process anXmlElement
to return a specific type of value.- Specified by:
onProcess
in classAbstractEmptyElementProcessor<ParameterizedBuilder<T>>
- 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
-