public class ClientClasspathXmlConfig extends ClientConfig
ClientConfig
which is initialized by loading an XML configuration file from the classpath.Constructor and Description |
---|
ClientClasspathXmlConfig(ClassLoader classLoader,
String resource,
Properties properties)
Creates a config which is loaded from a classpath resource.
|
ClientClasspathXmlConfig(String resource)
Creates a config which is loaded from a classpath resource using the
Thread.currentThread contextClassLoader.
|
ClientClasspathXmlConfig(String resource,
Properties properties)
Creates a config which is loaded from a classpath resource using the
Thread.currentThread contextClassLoader.
|
addAddress, addListenerConfig, addNearCacheConfig, addNearCacheConfig, addProxyFactoryConfig, addQueryCacheConfig, addReliableTopicConfig, getAddresses, getClassLoader, getConnectionAttemptLimit, getConnectionAttemptPeriod, getConnectionStrategyConfig, getConnectionTimeout, getCredentials, getExecutorPoolSize, getGroupConfig, getInstanceName, getLicenseKey, getListenerConfigs, getLoadBalancer, getManagedContext, getNativeMemoryConfig, getNearCacheConfig, getNearCacheConfigMap, getNetworkConfig, getOrCreateQueryCacheConfig, getOrNullQueryCacheConfig, getProperties, getProperty, getProxyFactoryConfigs, getQueryCacheConfigs, getReliableTopicConfig, getSecurityConfig, getSerializationConfig, getSocketInterceptorConfig, getSocketOptions, getUserCodeDeploymentConfig, isRedoOperation, isSmartRouting, setAddresses, setClassLoader, setConfigPatternMatcher, setConnectionAttemptLimit, setConnectionAttemptPeriod, setConnectionStrategyConfig, setConnectionTimeout, setCredentials, setExecutorPoolSize, setGroupConfig, setInstanceName, setLicenseKey, setListenerConfigs, setLoadBalancer, setManagedContext, setNativeMemoryConfig, setNearCacheConfigMap, setNetworkConfig, setProperties, setProperty, setProxyFactoryConfigs, setQueryCacheConfigs, setRedoOperation, setSecurityConfig, setSerializationConfig, setSmartRouting, setSocketInterceptorConfig, setSocketOptions, setUserCodeDeploymentConfig
public ClientClasspathXmlConfig(String resource)
resource
- the resource, an XML configuration file from the classpathIllegalArgumentException
- if the resource could not be foundHazelcastException
- if the XML content is invalidpublic ClientClasspathXmlConfig(String resource, Properties properties)
resource
- the resource, an XML configuration file from the classpathproperties
- the Properties to resolve variables in the XMLIllegalArgumentException
- if the resource could not be found or if properties is null
HazelcastException
- if the XML content is invalidpublic ClientClasspathXmlConfig(ClassLoader classLoader, String resource, Properties properties)
classLoader
- the ClassLoader used to load the resourceresource
- the resource, an XML configuration file from the classpathproperties
- the properties used to resolve variables in the XMLIllegalArgumentException
- if classLoader or resource is null
, or if the resource is not foundHazelcastException
- if the XML content is invalidCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.