public class Parser60 extends Object implements ConfigurationParser
| Constructor and Description |
|---|
Parser60() |
| Modifier and Type | Method and Description |
|---|---|
static void |
parseAsyncStore(XMLExtendedStreamReader reader,
StoreConfigurationBuilder<?,?> storeBuilder) |
static void |
parseCommonLoaderChildren(XMLExtendedStreamReader reader,
StoreConfigurationBuilder<?,?> loaderBuilder) |
static void |
parseCommonStoreAttributes(XMLExtendedStreamReader reader,
StoreConfigurationBuilder builder,
String attributeName,
String value,
int i)
This method is public static so that it can be reused by custom cache store/loader configuration parsers
|
static void |
parseCommonStoreChildren(XMLExtendedStreamReader reader,
StoreConfigurationBuilder<?,?> storeBuilder) |
static Properties |
parseProperties(XMLExtendedStreamReader reader) |
static void |
parseSingletonStore(XMLExtendedStreamReader reader,
StoreConfigurationBuilder<?,?> storeBuilder) |
void |
readElement(XMLExtendedStreamReader reader,
ConfigurationBuilderHolder holder)
The entry point of a configuration parser which gets passed a
XMLExtendedStreamReader positioned at a root
element associated with the parser itself according to the registered mapping. |
public void readElement(XMLExtendedStreamReader reader, ConfigurationBuilderHolder holder) throws XMLStreamException
ConfigurationParserXMLExtendedStreamReader positioned at a root
element associated with the parser itself according to the registered mapping.readElement in interface ConfigurationParserreader - the XML stream readerholder - a holder object used by the parser to maintain stateXMLStreamExceptionpublic static void parseCommonStoreAttributes(XMLExtendedStreamReader reader, StoreConfigurationBuilder builder, String attributeName, String value, int i) throws XMLStreamException
XMLStreamExceptionpublic static void parseCommonLoaderChildren(XMLExtendedStreamReader reader, StoreConfigurationBuilder<?,?> loaderBuilder) throws XMLStreamException
XMLStreamExceptionpublic static void parseCommonStoreChildren(XMLExtendedStreamReader reader, StoreConfigurationBuilder<?,?> storeBuilder) throws XMLStreamException
XMLStreamExceptionpublic static void parseSingletonStore(XMLExtendedStreamReader reader, StoreConfigurationBuilder<?,?> storeBuilder) throws XMLStreamException
XMLStreamExceptionpublic static void parseAsyncStore(XMLExtendedStreamReader reader, StoreConfigurationBuilder<?,?> storeBuilder) throws XMLStreamException
XMLStreamExceptionpublic static Properties parseProperties(XMLExtendedStreamReader reader) throws XMLStreamException
XMLStreamExceptionCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.