public class ClasspathXmlConfig extends Config
Config
which is initialized by loading an XML configuration file from the classpath.FileSystemXmlConfig
Constructor and Description |
---|
ClasspathXmlConfig(ClassLoader classLoader,
String resource)
Creates a config which is loaded from a classpath resource.
|
ClasspathXmlConfig(ClassLoader classLoader,
String resource,
Properties properties)
Creates a config which is loaded from a classpath resource.
|
ClasspathXmlConfig(String resource)
Creates a config which is loaded from a classpath resource using the
Thread.currentThread() contextClassLoader. |
ClasspathXmlConfig(String resource,
Properties properties)
Creates a config which is loaded from a classpath resource using the
Thread.currentThread() contextClassLoader. |
addAtomicLongConfig, addAtomicReferenceConfig, addCacheConfig, addCardinalityEstimatorConfig, addCountDownLatchConfig, addDurableExecutorConfig, addEventJournalConfig, addExecutorConfig, addFlakeIdGeneratorConfig, addJobTrackerConfig, addListConfig, addListenerConfig, addLockConfig, addMapConfig, addMerkleTreeConfig, addMultiMapConfig, addPNCounterConfig, addQueueConfig, addQuorumConfig, addReliableTopicConfig, addReplicatedMapConfig, addRingBufferConfig, addScheduledExecutorConfig, addSemaphoreConfig, addSetConfig, addTopicConfig, addWanReplicationConfig, findAtomicLongConfig, findAtomicReferenceConfig, findCacheConfig, findCacheConfigOrNull, findCacheEventJournalConfig, findCardinalityEstimatorConfig, findCountDownLatchConfig, findDurableExecutorConfig, findExecutorConfig, findFlakeIdGeneratorConfig, findJobTrackerConfig, findListConfig, findLockConfig, findMapConfig, findMapEventJournalConfig, findMapMerkleTreeConfig, findMultiMapConfig, findPNCounterConfig, findQueueConfig, findQuorumConfig, findReliableTopicConfig, findReplicatedMapConfig, findRingbufferConfig, findScheduledExecutorConfig, findSemaphoreConfig, findSetConfig, findTopicConfig, getAdvancedNetworkConfig, getAtomicLongConfig, getAtomicLongConfigs, getAtomicReferenceConfig, getAtomicReferenceConfigs, getCacheConfig, getCacheConfigs, getCacheEventJournalConfig, getCacheEventJournalConfigs, getCardinalityEstimatorConfig, getCardinalityEstimatorConfigs, getClassLoader, getConfigPatternMatcher, getConfigurationFile, getConfigurationUrl, getCountDownLatchConfig, getCountDownLatchConfigs, getCPSubsystemConfig, getCRDTReplicationConfig, getDurableExecutorConfig, getDurableExecutorConfigs, getExecutorConfig, getExecutorConfigs, getFlakeIdGeneratorConfig, getFlakeIdGeneratorConfigs, getGroupConfig, getHotRestartPersistenceConfig, getInstanceName, getJobTrackerConfig, getJobTrackerConfigs, getLicenseKey, getListConfig, getListConfigs, getListenerConfigs, getLockConfig, getLockConfigs, getManagedContext, getManagementCenterConfig, getMapConfig, getMapConfigOrNull, getMapConfigs, getMapEventJournalConfig, getMapEventJournalConfigs, getMapMerkleTreeConfig, getMapMerkleTreeConfigs, getMemberAttributeConfig, getMultiMapConfig, getMultiMapConfigs, getNativeMemoryConfig, getNetworkConfig, getPartitionGroupConfig, getPNCounterConfig, getPNCounterConfigs, getProperties, getProperty, getQueueConfig, getQueueConfigs, getQuorumConfig, getQuorumConfigs, getReliableTopicConfig, getReliableTopicConfigs, getReplicatedMapConfig, getReplicatedMapConfigs, getRingbufferConfig, getRingbufferConfigs, getScheduledExecutorConfig, getScheduledExecutorConfigs, getSecurityConfig, getSemaphoreConfig, getSemaphoreConfigs, getSemaphoreConfigsAsMap, getSerializationConfig, getServicesConfig, getSetConfig, getSetConfigs, getTopicConfig, getTopicConfigs, getUserCodeDeploymentConfig, getUserContext, getWanReplicationConfig, getWanReplicationConfigs, isLiteMember, load, setAdvancedNetworkConfig, setAtomicLongConfigs, setAtomicReferenceConfigs, setCacheConfigs, setCacheEventJournalConfigs, setCardinalityEstimatorConfigs, setClassLoader, setConfigPatternMatcher, setConfigurationFile, setConfigurationUrl, setCountDownLatchConfigs, setCPSubsystemConfig, setCRDTReplicationConfig, setDurableExecutorConfigs, setExecutorConfigs, setFlakeIdGeneratorConfigs, setGroupConfig, setHotRestartPersistenceConfig, setInstanceName, setJobTrackerConfigs, setLicenseKey, setListConfigs, setListenerConfigs, setLiteMember, setLockConfigs, setManagedContext, setManagementCenterConfig, setMapConfigs, setMapEventJournalConfigs, setMapMerkleTreeConfigs, setMemberAttributeConfig, setMultiMapConfigs, setNativeMemoryConfig, setNetworkConfig, setPartitionGroupConfig, setPNCounterConfigs, setProperties, setProperty, setQueueConfigs, setQuorumConfigs, setReliableTopicConfigs, setReplicatedMapConfigs, setRingbufferConfigs, setScheduledExecutorConfigs, setSecurityConfig, setSemaphoreConfigs, setSerializationConfig, setServicesConfig, setSetConfigs, setTopicConfigs, setUserCodeDeploymentConfig, setUserContext, setWanReplicationConfigs, toString
public ClasspathXmlConfig(String resource)
Thread.currentThread()
contextClassLoader. The System.properties are used to resolve variables
in the XML.resource
- the resource, an XML configuration file from the classpath,
without the "classpath:" prefixIllegalArgumentException
- if the resource could not be foundInvalidConfigurationException
- if the XML content is invalidpublic ClasspathXmlConfig(String resource, Properties properties)
Thread.currentThread()
contextClassLoader.resource
- the resource, an XML configuration file from the classpath,
without the "classpath:" prefixproperties
- the Properties to resolve variables in the XMLIllegalArgumentException
- if the resource could not be found or if properties is null
InvalidConfigurationException
- if the XML content is invalidpublic ClasspathXmlConfig(ClassLoader classLoader, String resource)
classLoader
- the ClassLoader used to load the resourceresource
- the resource, an XML configuration file from the classpath,
without the "classpath:" prefixIllegalArgumentException
- if classLoader or resource is null
, or if the resource is not foundInvalidConfigurationException
- if the XML content is invalidpublic ClasspathXmlConfig(ClassLoader classLoader, String resource, Properties properties)
classLoader
- the ClassLoader used to load the resourceresource
- the resource, an XML configuration file from the classpath,
without the "classpath:" prefixproperties
- the properties used to resolve variables in the XMLIllegalArgumentException
- if classLoader or resource is null
, or if the resource is not foundInvalidConfigurationException
- if the XML content is invalidCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.