public class XmlClientFailoverConfigBuilder extends AbstractXmlConfigBuilder
ClientFailoverConfig
using XML.AbstractXmlConfigBuilder.ConfigType
domLevel3
Constructor and Description |
---|
XmlClientFailoverConfigBuilder()
Loads the client config using the following resolution mechanism:
first it checks if a system property 'hazelcast.client.failover.config' is set.
|
XmlClientFailoverConfigBuilder(File file) |
XmlClientFailoverConfigBuilder(InputStream in) |
XmlClientFailoverConfigBuilder(String resource) |
XmlClientFailoverConfigBuilder(URL url) |
Modifier and Type | Method and Description |
---|---|
ClientFailoverConfig |
build() |
protected AbstractXmlConfigBuilder.ConfigType |
getConfigType() |
protected Document |
parse(InputStream inputStream)
Reads XML from InputStream and parses.
|
getProperties, process, setPropertiesInternal
appendToken, getNamespaceType, getReleaseVersion, loadSchemaFile, schemaValidation, xmlToJavaName
public XmlClientFailoverConfigBuilder(String resource) throws IOException
IOException
public XmlClientFailoverConfigBuilder(File file) throws IOException
IOException
public XmlClientFailoverConfigBuilder(URL url) throws IOException
IOException
public XmlClientFailoverConfigBuilder(InputStream in)
public XmlClientFailoverConfigBuilder()
protected Document parse(InputStream inputStream) throws Exception
AbstractXmlConfigBuilder
parse
in class AbstractXmlConfigBuilder
inputStream
- InputStream
to read fromException
- if the XML configuration cannot be parsed or is invalidprotected AbstractXmlConfigBuilder.ConfigType getConfigType()
getConfigType
in class AbstractXmlConfigBuilder
public ClientFailoverConfig build()
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.