com.hazelcast.config
Class InMemoryXmlConfig

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

public class InMemoryXmlConfig
extends Config

Creates a Config loaded from an in memory Hazelcast XML String.


Constructor Summary
InMemoryXmlConfig(String xml)
          Creates a Config from the provided XML and uses the System.properties to resolve variables in the XML.
InMemoryXmlConfig(String xml, Properties properties)
          Creates a Config from the provided XML and properties to resolve the variables in the XML.
 
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

InMemoryXmlConfig

public InMemoryXmlConfig(String xml)
Creates a Config from the provided XML and uses the System.properties to resolve variables in the XML.

Parameters:
xml - the XML content
Throws:
IllegalArgumentException - if the XML is null or empty.
HazelcastException - if the XML content is invalid

InMemoryXmlConfig

public InMemoryXmlConfig(String xml,
                         Properties properties)
Creates a Config from the provided XML and properties to resolve the variables in the XML.

Parameters:
xml - the XML content
Throws:
IllegalArgumentException - if the XML is null or empty or if properties is null.
HazelcastException - if the XML content is invalid


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