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
addExecutorConfig, addJobTrackerConfig, addListConfig, addListenerConfig, addMapConfig, addMultiMapConfig, addQueueConfig, addSemaphoreConfig, addSetConfig, addTopicConfig, addWanReplicationConfig, findExecutorConfig, findJobTrackerConfig, findListConfig, findMapConfig, findMultiMapConfig, findQueueConfig, findSemaphoreConfig, findSetConfig, findTopicConfig, getClassLoader, getConfigurationFile, getConfigurationUrl, getExecutorConfig, getExecutorConfigs, getGroupConfig, getInstanceName, getJobTrackerConfig, getJobTrackerConfigs, getLicenseKey, getListConfig, getListConfigs, getListenerConfigs, getManagedContext, getManagementCenterConfig, getMapConfig, getMapConfigs, getMemberAttributeConfig, getMultiMapConfig, getMultiMapConfigs, getNetworkConfig, getPartitionGroupConfig, getProperties, getProperty, getQueueConfig, getQueueConfigs, getSecurityConfig, getSemaphoreConfig, getSemaphoreConfigs, getSerializationConfig, getServicesConfig, getSetConfig, getSetConfigs, getTopicConfig, getTopicConfigs, getUserContext, getWanReplicationConfig, getWanReplicationConfigs, isCompatible, nameMatches, setClassLoader, setConfigurationFile, setConfigurationUrl, setExecutorConfigs, setGroupConfig, setInstanceName, setJobTrackerConfigs, setLicenseKey, setListConfigs, setListenerConfigs, setManagedContext, setManagementCenterConfig, setMapConfigs, setMemberAttributeConfig, setMultiMapConfigs, setNetworkConfig, setPartitionGroupConfig, setProperties, setProperty, setQueueConfigs, 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 © 2014 Hazelcast, Inc.. All Rights Reserved.