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.
|
addExecutorConfig, addJobTrackerConfig, addListConfig, addListenerConfig, addMapConfig, addMultiMapConfig, addQueueConfig, addReplicatedMapConfig, addSemaphoreConfig, addSetConfig, addTopicConfig, addWanReplicationConfig, findExecutorConfig, findJobTrackerConfig, findListConfig, findMapConfig, findMultiMapConfig, findQueueConfig, findReplicatedMapConfig, 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, getReplicatedMapConfig, getReplicatedMapConfigs, 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, setReplicatedMapConfigs, setSecurityConfig, setSemaphoreConfigs, setSerializationConfig, setServicesConfig, setSetConfigs, setTopicConfigs, setUserContext, setWanReplicationConfigs, toString
public ClasspathXmlConfig(String resource)
resource
- the xml resource.IllegalArgumentException
- if the resource could not be found.HazelcastException
- if the XML content is invalidpublic ClasspathXmlConfig(String resource, Properties properties)
resource
- the xml resource.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 classpath resourceIllegalArgumentException
- 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 classpath resourceproperties
- to 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 © 2014 Hazelcast, Inc.. All Rights Reserved.