Class ParserRegistry

java.lang.Object
org.infinispan.configuration.parsing.ParserRegistry
All Implemented Interfaces:
NamespaceMappingParser

public class ParserRegistry extends Object implements NamespaceMappingParser
ParserRegistry is a namespace-mapping-aware meta-parser which provides a way to delegate the parsing of multi-namespace XML files to appropriate parsers, defined by the ConfigurationParser interface. A registry of available parsers is built using the ServiceLoader system. Implementations of ConfigurationParser should include a META-INF/services/org.infinispan.configuration.parsing.ConfigurationParser file containing a list of available parsers.
Since:
5.2
Author:
Tristan Tarrant