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>
AnTopicMappingProcessoris responsible for processing <topic-mapping>XmlElements 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 booleanequals(Object o)inthashCode()TopicMappingprocess(ProcessingContext context, XmlElement element)Process anXmlElementto 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:ElementProcessorProcess anXmlElementto return a specific type of value.- Specified by:
processin interfaceElementProcessor<TopicMapping>- Parameters:
context- theProcessingContextin which theXmlElementis being processedelement- theXmlElementto process- Returns:
- a value of type T
- Throws:
ConfigurationException- when a configuration problem was encountered
-
-