com.hazelcast.config
Class AbstractConfigBuilder

java.lang.Object
  extended by com.hazelcast.config.AbstractXmlConfigHelper
      extended by com.hazelcast.config.AbstractConfigBuilder
Direct Known Subclasses:
XmlClientConfigBuilder, XmlConfigBuilder

public abstract class AbstractConfigBuilder
extends AbstractXmlConfigHelper

Contains logic for replacing system variables in the XML file and importing XML files from different locations.


Nested Class Summary
protected static class AbstractConfigBuilder.ConfigType
           
 
Nested classes/interfaces inherited from class com.hazelcast.config.AbstractXmlConfigHelper
AbstractXmlConfigHelper.IterableNodeList
 
Field Summary
 
Fields inherited from class com.hazelcast.config.AbstractXmlConfigHelper
domLevel3
 
Constructor Summary
AbstractConfigBuilder()
           
 
Method Summary
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)
           
 
Methods inherited from class com.hazelcast.config.AbstractXmlConfigHelper
appendToken, checkTrue, cleanNodeName, cleanNodeName, fillDataSerializableFactories, fillNativeMemoryConfig, fillPortableFactories, fillProperties, fillSerializers, getAttribute, getIntegerValue, getLongValue, getNamespaceType, getReleaseVersion, getTextContent, hasTextContent, loadSchemaFile, parseSerialization, parseSocketInterceptorConfig, schemaValidation, xmlToJavaName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfigBuilder

public AbstractConfigBuilder()
Method Detail

process

protected void process(Node root)
                throws Exception
Throws:
Exception

parse

protected abstract Document parse(InputStream inputStream)
                           throws Exception
Reads xml from InputStream and parses

Parameters:
inputStream -
Returns:
Document after parsing xml
Throws:
Exception

getProperties

protected abstract Properties getProperties()
Returns:
system properties

getXmlType

protected abstract AbstractConfigBuilder.ConfigType getXmlType()
Overrides:
getXmlType in class AbstractXmlConfigHelper
Returns:
ConfigType of current config class as enum value.


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.