Uses of Interface
org.infinispan.commons.configuration.io.ConfigurationReader
Package
Description
Common configuration for JDBC cache stores.
Configuration for the JDBC CacheStore.
Configuration for
RemoteStore
.Configuration for
RocksDBStore
.-
Uses of ConfigurationReader in org.infinispan.commons.configuration.io
Modifier and TypeMethodDescriptionvoid
ConfigurationReaderContext.handleAnyAttribute
(ConfigurationReader reader, int i) void
ConfigurationReaderContext.handleAnyElement
(ConfigurationReader reader) -
Uses of ConfigurationReader in org.infinispan.commons.configuration.io.json
-
Uses of ConfigurationReader in org.infinispan.commons.configuration.io.xml
-
Uses of ConfigurationReader in org.infinispan.commons.configuration.io.yaml
-
Uses of ConfigurationReader in org.infinispan.configuration.parsing
Modifier and TypeMethodDescriptionstatic CacheConfigurationException
ParseUtils.attributeRemoved
(ConfigurationReader reader, int attributeIndex) static CacheConfigurationException
ParseUtils.attributeRemoved
(ConfigurationReader reader, int attributeIndex, String newAttributeName) static ConfigurationReaderException
ParseUtils.duplicateAttribute
(ConfigurationReader reader, String name) Get an exception reporting that an attribute of a given name has already been declared in this scope.static ConfigurationReaderException
ParseUtils.duplicateNamedElement
(ConfigurationReader reader, String name) Get an exception reporting that an element of a given type and name has already been declared in this scope.static CacheConfigurationException
ParseUtils.elementRemoved
(ConfigurationReader reader) static CacheConfigurationException
ParseUtils.elementRemoved
(ConfigurationReader reader, String newElementName) void
ConfigurationBuilderHolder.handleAnyAttribute
(ConfigurationReader reader, int i) void
ConfigurationBuilderHolder.handleAnyElement
(ConfigurationReader reader) static void
ParseUtils.ignoreAttribute
(ConfigurationReader reader, int attributeIndex) static void
ParseUtils.ignoreAttribute
(ConfigurationReader reader, Enum<?> attribute) static void
ParseUtils.ignoreAttribute
(ConfigurationReader reader, String attributeName) static void
ParseUtils.ignoreElement
(ConfigurationReader reader, Enum<?> element) static ConfigurationReaderException
ParseUtils.invalidAttributeValue
(ConfigurationReader reader, int index) Get an exception reporting an invalid XML attribute value.static boolean
ParseUtils.isNoNamespaceAttribute
(ConfigurationReader reader, int index) static ConfigurationReaderException
ParseUtils.missingRequired
(ConfigurationReader reader, Set<?> required) Get an exception reporting a missing, required XML attribute.static ConfigurationReaderException
ParseUtils.missingRequiredElement
(ConfigurationReader reader, Set<?> required) Get an exception reporting a missing, required XML child element.static Element
ParseUtils.nextElement
(ConfigurationReader reader) ParserRegistry.parse
(ConfigurationReader reader, ConfigurationBuilderHolder holder) void
NamespaceMappingParser.parseAttribute
(ConfigurationReader reader, int i, ConfigurationBuilderHolder holder) Handle a namespaced attributevoid
ParserRegistry.parseAttribute
(ConfigurationReader reader, int i, ConfigurationBuilderHolder holder) static void
ParseUtils.parseAttributes
(ConfigurationReader reader, Builder<?> builder) static boolean
ParseUtils.parseBoolean
(ConfigurationReader reader, int i, String value) void
Parser.parseBoundedQueueThreadPool
(ConfigurationReader reader, ConfigurationBuilderHolder holder, String name, boolean isNonBlocking) protected final void
CacheParser.parseCacheElement
(ConfigurationReader reader, Element element, ConfigurationBuilderHolder holder) protected void
CacheParser.parseDistributedCache
(ConfigurationReader reader, ConfigurationBuilderHolder holder, String name, boolean template) void
NamespaceMappingParser.parseElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) Recursively parses the current element of an XML stream using an appropriateConfigurationParser
depending on the element's namespace.void
ParserRegistry.parseElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) static <T extends Enum<T>>
TParseUtils.parseEnum
(ConfigurationReader reader, int i, Class<T> enumClass, String value) protected void
CacheParser.parseFileStore
(ConfigurationReader reader, ConfigurationBuilderHolder holder) static Integer
ParseUtils.parseInt
(ConfigurationReader reader, int i, String value) protected void
CacheParser.parseInvalidationCache
(ConfigurationReader reader, ConfigurationBuilderHolder holder, String name, boolean template) protected void
CacheParser.parseLocalCache
(ConfigurationReader reader, ConfigurationBuilderHolder holder, String name, boolean template) static long
ParseUtils.parseLong
(ConfigurationReader reader, int i, String value) static Properties
CacheParser.parseProperties
(ConfigurationReader reader, Enum<?> outerElement) static Properties
CacheParser.parseProperties
(ConfigurationReader reader, Enum<?> outerElement, Enum<?> collectionElement, Enum<?> itemElement) static Properties
CacheParser.parseProperties
(ConfigurationReader reader, String outerElement, String collectionElement, String itemElement) protected void
CacheParser.parseReplicatedCache
(ConfigurationReader reader, ConfigurationBuilderHolder holder, String name, boolean template) protected void
CacheParser.parseScatteredCache
(ConfigurationReader reader, ConfigurationBuilderHolder holder, String name, boolean template) protected void
CacheParser.parseSingleFileStore
(ConfigurationReader reader, ConfigurationBuilderHolder holder) static void
CacheParser.parseStoreAttribute
(ConfigurationReader reader, int index, AbstractStoreConfigurationBuilder<?, ?> storeBuilder) This method is public static so that it can be reused by custom cache store/loader configuration parsersstatic void
Parser.parseStoreAttribute
(ConfigurationReader reader, int index, AbstractStoreConfigurationBuilder<?, ?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version.static void
CacheParser.parseStoreElement
(ConfigurationReader reader, StoreConfigurationBuilder<?, ?> storeBuilder) static void
Parser.parseStoreElement
(ConfigurationReader reader, StoreConfigurationBuilder<?, ?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version.static void
CacheParser.parseStoreProperties
(ConfigurationReader reader, StoreConfigurationBuilder<?, ?> storeBuilder) static void
CacheParser.parseStoreProperty
(ConfigurationReader reader, StoreConfigurationBuilder<?, ?> storeBuilder) static void
Parser.parseStoreProperty
(ConfigurationReader reader, StoreConfigurationBuilder<?, ?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version.static void
CacheParser.parseStoreWriteBehind
(ConfigurationReader reader, AsyncStoreConfigurationBuilder<?> storeBuilder) static void
Parser.parseStoreWriteBehind
(ConfigurationReader reader, AsyncStoreConfigurationBuilder<?> storeBuilder) Deprecated, for removal: This API element is subject to removal in a future version.default void
ConfigurationParser.readAttribute
(ConfigurationReader reader, String elementName, int attributeIndex, ConfigurationBuilderHolder holder) static boolean
ParseUtils.readBooleanAttributeElement
(ConfigurationReader reader, String attributeName) Read an element which contains only a single boolean attribute.void
CacheParser.readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) void
ConfigurationParser.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
Parser.readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) static String
ParseUtils.readStringAttributeElement
(ConfigurationReader reader, String attributeName) Read an element which contains only a single string attribute.static String
ParseUtils.requireAttributeProperty
(ConfigurationReader reader, int i) static String[]
ParseUtils.requireAttributes
(ConfigurationReader reader, boolean replace, String... attributeNames) Require all the named attributes, returning their values in order.static String[]
ParseUtils.requireAttributes
(ConfigurationReader reader, Enum<?>... attributes) static String[]
ParseUtils.requireAttributes
(ConfigurationReader reader, String... attributeNames) static void
ParseUtils.requireNoAttributes
(ConfigurationReader reader) Checks that the current element has no attributes, throwing anConfigurationReaderException
if one is found.static void
ParseUtils.requireNoContent
(ConfigurationReader reader) Consumes the remainder of the current element, throwing anConfigurationReaderException
if it contains any child elements.static void
ParseUtils.requireNoNamespaceAttribute
(ConfigurationReader reader, int index) static String
ParseUtils.requireSingleAttribute
(ConfigurationReader reader, Enum<?> attribute) static String
ParseUtils.requireSingleAttribute
(ConfigurationReader reader, String attributeName) Require that the current element have only a single attribute with the given name.static ConfigurationReaderException
ParseUtils.unexpectedAttribute
(ConfigurationReader reader, int index) Get an exception reporting an unexpected XML attribute.static ConfigurationReaderException
ParseUtils.unexpectedAttribute
(ConfigurationReader reader, String name) Get an exception reporting an unexpected XML attribute.static ConfigurationReaderException
ParseUtils.unexpectedElement
(ConfigurationReader reader) Get an exception reporting an unexpected XML element.static ConfigurationReaderException
ParseUtils.unexpectedElement
(ConfigurationReader reader, String element) static <T extends Enum<T>>
ConfigurationReaderExceptionParseUtils.unexpectedElement
(ConfigurationReader reader, T element) static ConfigurationReaderException
ParseUtils.unexpectedEndElement
(ConfigurationReader reader) Get an exception reporting an unexpected end tag for an XML element. -
Uses of ConfigurationReader in org.infinispan.counter.configuration
Modifier and TypeMethodDescriptionvoid
CounterConfigurationParser.readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) void
CounterParser.readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) void
CounterParser.readElement
(ConfigurationReader reader, CounterManagerConfigurationBuilder builder, Element element, String name) -
Uses of ConfigurationReader in org.infinispan.lock.configuration
Modifier and TypeMethodDescriptionvoid
ClusteredLockConfigurationParser.readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) -
Uses of ConfigurationReader in org.infinispan.persistence.jdbc.common.configuration
Modifier and TypeMethodDescriptionprotected boolean
AbstractJdbcStoreConfigurationParser.handleCommonAttributes
(ConfigurationReader reader, AbstractJdbcStoreConfigurationBuilder<?, ?> builder, Attribute attribute, String value) protected boolean
AbstractJdbcStoreConfigurationParser.handleCommonElement
(AbstractJdbcStoreConfigurationBuilder<?, ?> builder, Element element, ConfigurationReader reader) protected void
AbstractJdbcStoreConfigurationParser.parseConnectionPoolAttributes
(ConfigurationReader reader, PooledConnectionFactoryConfigurationBuilder<?> builder) protected void
AbstractJdbcStoreConfigurationParser.parseDataSourceAttributes
(ConfigurationReader reader, ManagedConnectionFactoryConfigurationBuilder<?> builder) protected void
AbstractJdbcStoreConfigurationParser.parseSimpleConnectionAttributes
(ConfigurationReader reader, SimpleConnectionFactoryConfigurationBuilder<?> builder) -
Uses of ConfigurationReader in org.infinispan.persistence.jdbc.configuration
Modifier and TypeMethodDescriptionvoid
JdbcStoreConfigurationParser.readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) -
Uses of ConfigurationReader in org.infinispan.persistence.remote.configuration
Modifier and TypeMethodDescriptionvoid
RemoteStoreConfigurationParser.readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) -
Uses of ConfigurationReader in org.infinispan.persistence.rocksdb.configuration
Modifier and TypeMethodDescriptionvoid
RocksDBStoreConfigurationParser.readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder) -
Uses of ConfigurationReader in org.infinispan.persistence.sql.configuration
Modifier and TypeMethodDescriptionvoid
SqlStoreConfigurationParser.readElement
(ConfigurationReader reader, ConfigurationBuilderHolder holder)
CacheParser.parseStoreAttribute(ConfigurationReader, int, AbstractStoreConfigurationBuilder)