Class CounterParser
- java.lang.Object
-
- org.infinispan.counter.configuration.CounterParser
-
- All Implemented Interfaces:
ConfigurationParser
- Direct Known Subclasses:
CounterConfigurationParser
@MetaInfServices public class CounterParser extends Object implements ConfigurationParser
Counters configuration parser- Since:
- 9.0
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description CounterParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Namespace[]
getNamespaces()
void
readElement(ConfigurationReader reader, ConfigurationBuilderHolder holder)
The entry point of a configuration parser which gets passed aConfigurationReader
positioned at a root element associated with the parser itself according to the registered mapping.void
readElement(ConfigurationReader reader, CounterManagerConfigurationBuilder builder, Element element, String name)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.configuration.parsing.ConfigurationParser
readAttribute
-
-
-
-
Method Detail
-
readElement
public void readElement(ConfigurationReader reader, ConfigurationBuilderHolder holder)
Description copied from interface:ConfigurationParser
The entry point of a configuration parser which gets passed aConfigurationReader
positioned at a root element associated with the parser itself according to the registered mapping.- Specified by:
readElement
in interfaceConfigurationParser
- Parameters:
reader
- the configuration stream readerholder
- a holder object used by the parser to maintain state
-
readElement
public void readElement(ConfigurationReader reader, CounterManagerConfigurationBuilder builder, Element element, String name)
-
getNamespaces
public Namespace[] getNamespaces()
- Specified by:
getNamespaces
in interfaceConfigurationParser
-
-