Package com.tangosol.config.xml
Class SimpleElementProcessor<T>
java.lang.Object
com.tangosol.config.xml.SimpleElementProcessor<T>
- All Implemented Interfaces:
ElementProcessor<T>
A
SimpleElementProcessor is an ElementProcessor implementation that will construct,
initialize (via constructor injection) and return a specific type of object based on information in
an XmlElement.- Since:
- Coherence 12.1.2
- Author:
- dr 2011.05.14, bo 2011.06.23
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleElementProcessor(Class<T> clzElement) Construct aSimpleElementProcessor. -
Method Summary
Modifier and TypeMethodDescriptionprocess(ProcessingContext context, XmlElement element) Process anXmlElementto return a specific type of value.
-
Constructor Details
-
SimpleElementProcessor
Construct aSimpleElementProcessor.- Parameters:
clzElement- TheClassof objects returned by theElementProcessor
-
-
Method Details
-
process
Process anXmlElementto return a specific type of value.- Specified by:
processin interfaceElementProcessor<T>- Parameters:
context- theProcessingContextin which theXmlElementis being processedelement- theXmlElementto process- Returns:
- a value of type T
- Throws:
ConfigurationException- when a configuration problem was encountered
-