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>
An
TopicMappingProcessor is responsible for processing <topic-mapping>
XmlElements to produce a TopicMapping.- Since:
- Coherence 14.1.1
- Author:
- jk 2015.05.21
-
Constructor Summary
ConstructorsConstructorDescriptionTopicMappingProcessor(String sNameElementName, Class<? extends TopicScheme> clsScheme) Create aTopicMappingProcessor. -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()process(ProcessingContext context, XmlElement element) Process anXmlElementto return a specific type of value.
-
Constructor Details
-
TopicMappingProcessor
Create aTopicMappingProcessor.- Parameters:
sNameElementName- the name of the elementclsScheme- the type of the topic scheme
-
-
Method Details
-
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
-
equals
-
hashCode
public int hashCode()
-