Class TopicMappingProcessor
- java.lang.Object
-
- com.tangosol.coherence.config.xml.processor.TopicMappingProcessor
-
- All Implemented Interfaces:
ElementProcessor<TopicMapping>
@XmlSimpleName("topic-mapping") public class TopicMappingProcessor extends Object implements ElementProcessor<TopicMapping>
AnTopicMappingProcessor
is responsible for processing <topic-mapping>XmlElement
s to produce aTopicMapping
.- Since:
- Coherence 14.1.1
- Author:
- jk 2015.05.21
-
-
Constructor Summary
Constructors Constructor Description TopicMappingProcessor(String sNameElementName, Class<? extends TopicScheme> clsScheme)
Create aTopicMappingProcessor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
TopicMapping
process(ProcessingContext context, XmlElement element)
Process anXmlElement
to return a specific type of value.
-
-
-
Constructor Detail
-
TopicMappingProcessor
public TopicMappingProcessor(String sNameElementName, Class<? extends TopicScheme> clsScheme)
Create aTopicMappingProcessor
.- Parameters:
sNameElementName
- the name of the elementclsScheme
- the type of the topic scheme
-
-
Method Detail
-
process
public TopicMapping 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<TopicMapping>
- 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
-
-