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.
|
addCacheConfig, addExecutorConfig, addJobTrackerConfig, addListConfig, addListenerConfig, addMapConfig, addMultiMapConfig, addQueueConfig, addQuorumConfig, addReliableTopicConfig, addReplicatedMapConfig, addRingBufferConfig, addSemaphoreConfig, addSetConfig, addTopicConfig, addWanReplicationConfig, findCacheConfig, findExecutorConfig, findJobTrackerConfig, findListConfig, findMapConfig, findMultiMapConfig, findQueueConfig, findQuorumConfig, findReliableTopicConfig, findReplicatedMapConfig, findRingbufferConfig, findSemaphoreConfig, findSetConfig, findTopicConfig, getCacheConfig, getCacheConfigs, getClassLoader, getConfigPatternMatcher, getConfigurationFile, getConfigurationUrl, getExecutorConfig, getExecutorConfigs, getGroupConfig, getHotRestartPersistenceConfig, getInstanceName, getJobTrackerConfig, getJobTrackerConfigs, getLicenseKey, getListConfig, getListConfigs, getListenerConfigs, getManagedContext, getManagementCenterConfig, getMapConfig, getMapConfigs, getMemberAttributeConfig, getMultiMapConfig, getMultiMapConfigs, getNativeMemoryConfig, getNetworkConfig, getPartitionGroupConfig, getProperties, getProperty, getProperty, getQueueConfig, getQueueConfigs, getQuorumConfig, getQuorumConfigs, getReliableTopicConfig, getReliableTopicConfigs, getReplicatedMapConfig, getReplicatedMapConfigs, getRingbufferConfig, getRingbufferConfigs, getSecurityConfig, getSemaphoreConfig, getSemaphoreConfigs, getSerializationConfig, getServicesConfig, getSetConfig, getSetConfigs, getTopicConfig, getTopicConfigs, getUserContext, getWanReplicationConfig, getWanReplicationConfigs, isCompatible, isLiteMember, setCacheConfigs, setClassLoader, setConfigPatternMatcher, setConfigurationFile, setConfigurationUrl, setExecutorConfigs, setGroupConfig, setHotRestartPersistenceConfig, setInstanceName, setJobTrackerConfigs, setLicenseKey, setListConfigs, setListenerConfigs, setLiteMember, setManagedContext, setManagementCenterConfig, setMapConfigs, setMemberAttributeConfig, setMultiMapConfigs, setNativeMemoryConfig, setNetworkConfig, setPartitionGroupConfig, setProperties, setProperty, setProperty, setQueueConfigs, setQuorumConfigs, setReplicatedMapConfigs, setSecurityConfig, setSemaphoreConfigs, setSerializationConfig, setServicesConfig, setSetConfigs, setTopicConfigs, setUserContext, setWanReplicationConfigs, toString
public ClasspathXmlConfig(String resource)
resource
- the resource, an XML configuration file from the classpath.IllegalArgumentException
- if the resource could not be found.HazelcastException
- if the XML content is invalidpublic ClasspathXmlConfig(String resource, Properties properties)
resource
- the resource, an XML configuration file from the classpath.properties
- the Properties to resolve variables in the XML.IllegalArgumentException
- if the resource could not be found or if properties is null.HazelcastException
- if the XML content is invalidpublic ClasspathXmlConfig(ClassLoader classLoader, String resource)
classLoader
- the ClassLoader used to load the resource.resource
- the resource, an XML configuration file from the classpath.IllegalArgumentException
- if classLoader or resource is null, or if the resource is not found.HazelcastException
- if the XML content is invalidpublic ClasspathXmlConfig(ClassLoader classLoader, String resource, Properties properties)
classLoader
- the ClassLoader used to load the resource.resource
- the resource, an XML configuration file from the classpath.properties
- the properties used to resolve variables in the XML.IllegalArgumentException
- if classLoader or resource is null, or if the resource is not found.HazelcastException
- if the XML content is invalidCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.