public class UrlXmlConfig extends Config
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.
DEFAULT_CLUSTER_NAME
Constructor and Description |
---|
UrlXmlConfig(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.
|
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, getNativeMemoryConfig, getNetworkConfig, getPartitionGroupConfig, getPersistenceConfig, getPNCounterConfig, getPNCounterConfigs, getProperties, getProperty, getQueueConfig, getQueueConfigs, getReliableTopicConfig, getReliableTopicConfigs, getReplicatedMapConfig, getReplicatedMapConfigs, 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, setNativeMemoryConfig, setNetworkConfig, setPartitionGroupConfig, setPersistenceConfig, setPNCounterConfigs, setProperties, setProperty, setQueueConfigs, setReliableTopicConfigs, setReplicatedMapConfigs, setRingbufferConfigs, setScheduledExecutorConfigs, setSecurityConfig, setSerializationConfig, setSetConfigs, setSplitBrainProtectionConfigs, setSqlConfig, setTopicConfigs, setTpcConfig, setUserCodeDeploymentConfig, setUserContext, setWanReplicationConfigs, toString
public UrlXmlConfig(String url) throws IOException
url
- the url pointing to the Hazelcast XML fileMalformedURLException
- if the url is not correctIOException
- if something fails while loading the resourceInvalidConfigurationException
- if the XML content is invalidpublic UrlXmlConfig(String url, Properties properties) throws IOException
url
- the url pointing to the Hazelcast XML fileproperties
- the properties for replacing variablesIllegalArgumentException
- if properties is null
MalformedURLException
- if the url is not correctIOException
- if something fails while loading the resourceInvalidConfigurationException
- if the XML content is invalidpublic UrlXmlConfig(URL url) throws IOException
url
- the URL pointing to the Hazelcast XML fileIOException
- if something fails while loading the resourceIllegalArgumentException
- if the url is null
InvalidConfigurationException
- if the XML content is invalidpublic UrlXmlConfig(URL url, Properties properties) throws IOException
url
- the URL pointing to the Hazelcast XML fileproperties
- the properties for replacing variablesIOException
- if something fails while loading the resourceIllegalArgumentException
- if the url or properties is null
InvalidConfigurationException
- if the XML content is invalidCopyright © 2024 Hazelcast, Inc.. All rights reserved.