Package com.hazelcast.config
Class UrlXmlConfig
java.lang.Object
com.hazelcast.config.Config
com.hazelcast.config.UrlXmlConfig
A
Config
which is loaded using some url pointing to a Hazelcast XML file.
Unlike Config.load()
and its variants, a configuration constructed via
UrlXmlConfig
does not apply overrides found in environment variables/system properties.
-
Field Summary
Fields inherited from class com.hazelcast.config.Config
DEFAULT_CLUSTER_NAME, userCodeNamespacesConfig
-
Constructor Summary
ConstructorDescriptionUrlXmlConfig
(String url) Creates new Config which is loaded from the given url and uses the System.properties to replace variables in the XML.UrlXmlConfig
(String url, Properties properties) Creates new Config which is loaded from the given url.UrlXmlConfig
(URL url) Creates new Config which is loaded from the given url and uses the System.properties to replace variables in the XML.UrlXmlConfig
(URL url, Properties properties) Creates new Config which is loaded from the given url. -
Method Summary
Methods inherited from class com.hazelcast.config.Config
addCacheConfig, addCardinalityEstimatorConfig, addDataConnectionConfig, addDeviceConfig, addDurableExecutorConfig, addExecutorConfig, addFlakeIdGeneratorConfig, addListConfig, addListenerConfig, addMapConfig, addMultiMapConfig, addPNCounterConfig, addQueueConfig, addReliableTopicConfig, addReplicatedMapConfig, addRingBufferConfig, addScheduledExecutorConfig, addSetConfig, addSplitBrainProtectionConfig, addTopicConfig, addWanReplicationConfig, findCacheConfig, findCacheConfigOrNull, findCardinalityEstimatorConfig, findDataConnectionConfig, findDurableExecutorConfig, findExecutorConfig, findFlakeIdGeneratorConfig, findListConfig, findMapConfig, findMultiMapConfig, findPNCounterConfig, findQueueConfig, findReliableTopicConfig, findReplicatedMapConfig, findRingbufferConfig, findScheduledExecutorConfig, findSetConfig, findSplitBrainProtectionConfig, findTopicConfig, getAdvancedNetworkConfig, getAuditlogConfig, getCacheConfig, getCacheConfigs, getCardinalityEstimatorConfig, getCardinalityEstimatorConfigs, getClassLoader, getClusterName, getConfigPatternMatcher, getConfigurationFile, getConfigurationUrl, getCPSubsystemConfig, getCRDTReplicationConfig, getDataConnectionConfig, getDataConnectionConfigs, getDeviceConfig, getDeviceConfig, getDeviceConfigs, getDurableExecutorConfig, getDurableExecutorConfigs, getDynamicConfigurationConfig, getExecutorConfig, getExecutorConfigs, getFlakeIdGeneratorConfig, getFlakeIdGeneratorConfigs, getHotRestartPersistenceConfig, getInstanceName, getInstanceTrackingConfig, getIntegrityCheckerConfig, getJetConfig, getLicenseKey, getListConfig, getListConfigs, getListenerConfigs, getManagedContext, getManagementCenterConfig, getMapConfig, getMapConfigOrNull, getMapConfigs, getMemberAttributeConfig, getMetricsConfig, getMultiMapConfig, getMultiMapConfigs, getNamespacesConfig, getNativeMemoryConfig, getNetworkConfig, getPartitionGroupConfig, getPersistenceConfig, getPNCounterConfig, getPNCounterConfigs, getProperties, getProperty, getQueueConfig, getQueueConfigs, getReliableTopicConfig, getReliableTopicConfigs, getReplicatedMapConfig, getReplicatedMapConfigs, getRestConfig, getRingbufferConfig, getRingbufferConfigs, getScheduledExecutorConfig, getScheduledExecutorConfigs, getSecurityConfig, getSerializationConfig, getServicesConfig, getSetConfig, getSetConfigs, getSplitBrainProtectionConfig, getSplitBrainProtectionConfigs, getSqlConfig, getTopicConfig, getTopicConfigs, getTpcConfig, getUserCodeDeploymentConfig, getUserContext, getWanReplicationConfig, getWanReplicationConfigs, isLiteMember, load, loadDefault, loadDefault, loadFromClasspath, loadFromClasspath, loadFromFile, loadFromFile, loadFromStream, loadFromStream, loadFromString, loadFromString, setAdvancedNetworkConfig, setAuditlogConfig, setCacheConfigs, setCardinalityEstimatorConfigs, setClassLoader, setClusterName, setConfigPatternMatcher, setConfigurationFile, setConfigurationUrl, setCPSubsystemConfig, setCRDTReplicationConfig, setDataConnectionConfigs, setDeviceConfigs, setDurableExecutorConfigs, setDynamicConfigurationConfig, setExecutorConfigs, setFlakeIdGeneratorConfigs, setHotRestartPersistenceConfig, setInstanceName, setInstanceTrackingConfig, setIntegrityCheckerConfig, setJetConfig, setLicenseKey, setListConfigs, setListenerConfigs, setLiteMember, setManagedContext, setManagementCenterConfig, setMapConfigs, setMemberAttributeConfig, setMetricsConfig, setMultiMapConfigs, setNamespacesConfig, setNativeMemoryConfig, setNetworkConfig, setPartitionGroupConfig, setPersistenceConfig, setPNCounterConfigs, setProperties, setProperty, setQueueConfigs, setReliableTopicConfigs, setReplicatedMapConfigs, setRestConfig, setRingbufferConfigs, setScheduledExecutorConfigs, setSecurityConfig, setSerializationConfig, setSetConfigs, setSplitBrainProtectionConfigs, setSqlConfig, setTopicConfigs, setTpcConfig, setUserCodeDeploymentConfig, setUserContext, setWanReplicationConfigs, toString
-
Constructor Details
-
UrlXmlConfig
Creates new Config which is loaded from the given url and uses the System.properties to replace variables in the XML.- Parameters:
url
- the url pointing to the Hazelcast XML file- Throws:
MalformedURLException
- if the url is not correctIOException
- if something fails while loading the resourceInvalidConfigurationException
- if the XML content is invalid
-
UrlXmlConfig
Creates new Config which is loaded from the given url.- Parameters:
url
- the url pointing to the Hazelcast XML fileproperties
- the properties for replacing variables- Throws:
IllegalArgumentException
- if properties isnull
MalformedURLException
- if the url is not correctIOException
- if something fails while loading the resourceInvalidConfigurationException
- if the XML content is invalid
-
UrlXmlConfig
Creates new Config which is loaded from the given url and uses the System.properties to replace variables in the XML.- Parameters:
url
- the URL pointing to the Hazelcast XML file- Throws:
IOException
- if something fails while loading the resourceIllegalArgumentException
- if the url isnull
InvalidConfigurationException
- if the XML content is invalid
-
UrlXmlConfig
Creates new Config which is loaded from the given url.- Parameters:
url
- the URL pointing to the Hazelcast XML fileproperties
- the properties for replacing variables- Throws:
IOException
- if something fails while loading the resourceIllegalArgumentException
- if the url or properties isnull
InvalidConfigurationException
- if the XML content is invalid
-