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
ConstructorDescriptionSimpleElementProcessor
(Class<T> clzElement) Construct aSimpleElementProcessor
. -
Method Summary
Modifier and TypeMethodDescriptionprocess
(ProcessingContext context, XmlElement element) Process anXmlElement
to return a specific type of value.
-
Constructor Details
-
SimpleElementProcessor
Construct aSimpleElementProcessor
.- Parameters:
clzElement
- TheClass
of objects returned by theElementProcessor
-
-
Method Details
-
process
Process anXmlElement
to return a specific type of value.- Specified by:
process
in interfaceElementProcessor<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
-