public abstract class AbstractConfigBuilder extends AbstractXmlConfigHelper
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractConfigBuilder.ConfigType |
Modifier and Type | Field and Description |
---|---|
static String |
HAZELCAST_CONFIG_REPLACER_CLASS
Name of property which allows to configure a
ConfigReplacer to be applied on the loaded XML configuration. |
static String |
HAZELCAST_CONFIG_REPLACER_FAIL_IF_MISSING
Name of property which allows to disable the fail-fast approach for
ConfigReplacer . |
domLevel3
Constructor and Description |
---|
AbstractConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
protected abstract Properties |
getProperties() |
protected abstract AbstractConfigBuilder.ConfigType |
getXmlType() |
protected abstract Document |
parse(InputStream inputStream)
Reads XML from InputStream and parses.
|
protected void |
process(Node root) |
appendToken, asElementIterable, childElements, cleanNodeName, fillDataSerializableFactories, fillNativeMemoryConfig, fillPortableFactories, fillProperties, fillProperties, fillSerializers, getAttribute, getBooleanValue, getIntegerValue, getLongValue, getNamespaceType, getReleaseVersion, getTextContent, hasTextContent, loadSchemaFile, parseSerialization, parseSocketInterceptorConfig, schemaValidation, xmlToJavaName
public static final String HAZELCAST_CONFIG_REPLACER_CLASS
ConfigReplacer
to be applied on the loaded XML configuration.public static final String HAZELCAST_CONFIG_REPLACER_FAIL_IF_MISSING
ConfigReplacer
.protected abstract Document parse(InputStream inputStream) throws Exception
inputStream
- InputStream
to read fromException
- if the XML configuration cannot be parsed or is invalidprotected abstract Properties getProperties()
protected abstract AbstractConfigBuilder.ConfigType getXmlType()
getXmlType
in class AbstractXmlConfigHelper
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.