com.hazelcast.config
Class FileSystemXmlConfig

java.lang.Object
  extended by com.hazelcast.config.Config
      extended by com.hazelcast.config.FileSystemXmlConfig

public class FileSystemXmlConfig
extends Config

A Config which is which includes functionality for loading itself from a XML configuration file.


Constructor Summary
FileSystemXmlConfig(File configFile)
          Creates a Config based on a Hazelcast xml file and uses the System.properties to resolve variables in the XML.
FileSystemXmlConfig(File configFile, Properties properties)
          Creates a Config based on a Hazelcast xml file.
FileSystemXmlConfig(String configFilename)
          Creates a Config based on some Hazelcast xml file and uses the System.properties to resolve variables in the XML.
FileSystemXmlConfig(String configFilename, Properties properties)
          Creates a Config based on some Hazelcast xml file.
 
Method Summary
 
Methods inherited from class com.hazelcast.config.Config
addCacheConfig, addExecutorConfig, addJobTrackerConfig, addListConfig, addListenerConfig, addMapConfig, addMultiMapConfig, addQueueConfig, addReplicatedMapConfig, addSemaphoreConfig, addSetConfig, addTopicConfig, addWanReplicationConfig, findCacheConfig, findExecutorConfig, findJobTrackerConfig, findListConfig, findMapConfig, findMultiMapConfig, findQueueConfig, findReplicatedMapConfig, findSemaphoreConfig, findSetConfig, findTopicConfig, getCacheConfig, getCacheConfigs, getClassLoader, getConfigurationFile, getConfigurationUrl, getExecutorConfig, getExecutorConfigs, getGroupConfig, getInstanceName, getJobTrackerConfig, getJobTrackerConfigs, getLicenseKey, getListConfig, getListConfigs, getListenerConfigs, getManagedContext, getManagementCenterConfig, getMapConfig, getMapConfigs, getMemberAttributeConfig, getMultiMapConfig, getMultiMapConfigs, getNativeMemoryConfig, getNetworkConfig, getPartitionGroupConfig, getProperties, getProperty, getQueueConfig, getQueueConfigs, getReplicatedMapConfig, getReplicatedMapConfigs, getSecurityConfig, getSemaphoreConfig, getSemaphoreConfigs, getSerializationConfig, getServicesConfig, getSetConfig, getSetConfigs, getTopicConfig, getTopicConfigs, getUserContext, getWanReplicationConfig, getWanReplicationConfigs, isCompatible, nameMatches, setCacheConfigs, setClassLoader, setConfigurationFile, setConfigurationUrl, setExecutorConfigs, setGroupConfig, setInstanceName, setJobTrackerConfigs, setLicenseKey, setListConfigs, setListenerConfigs, setManagedContext, setManagementCenterConfig, setMapConfigs, setMemberAttributeConfig, setMultiMapConfigs, setNativeMemoryConfig, setNetworkConfig, setPartitionGroupConfig, setProperties, setProperty, setQueueConfigs, setReplicatedMapConfigs, setSecurityConfig, setSemaphoreConfigs, setSerializationConfig, setServicesConfig, setSetConfigs, setTopicConfigs, setUserContext, setWanReplicationConfigs, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileSystemXmlConfig

public FileSystemXmlConfig(String configFilename)
                    throws FileNotFoundException
Creates a Config based on some Hazelcast xml file and uses the System.properties to resolve variables in the XML.

Parameters:
configFilename - the path of the file.
Throws:
NullPointerException - if configFilename is null.
FileNotFoundException - fi the file is not found.
HazelcastException - if the XML content is invalid

FileSystemXmlConfig

public FileSystemXmlConfig(String configFilename,
                           Properties properties)
                    throws FileNotFoundException
Creates a Config based on some Hazelcast xml file.

Parameters:
configFilename - the path of the file.
properties - the Properties to use to resolve variables in the XML.
Throws:
FileNotFoundException - fi the file is not found.
NullPointerException - if configFilename is null.
IllegalArgumentException - if properties is null.
HazelcastException - if the XML content is invalid

FileSystemXmlConfig

public FileSystemXmlConfig(File configFile)
                    throws FileNotFoundException
Creates a Config based on a Hazelcast xml file and uses the System.properties to resolve variables in the XML.

Parameters:
configFile - the configuration file.
Throws:
FileNotFoundException - if the file doesn't exist.
HazelcastException - if the XML content is invalid

FileSystemXmlConfig

public FileSystemXmlConfig(File configFile,
                           Properties properties)
                    throws FileNotFoundException
Creates a Config based on a Hazelcast xml file.

Parameters:
configFile - the configuration file.
properties - the Properties to resolve variables in the XML.
Throws:
IllegalArgumentException - if configFile or properties is null.
FileNotFoundException - if the file doesn't exist.
HazelcastException - if the XML content is invalid


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