|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hazelcast.config.Config
com.hazelcast.config.UrlXmlConfig
public class UrlXmlConfig
A Config which is loaded using some url pointing to a Hazelcast XML file.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UrlXmlConfig(String url)
throws MalformedURLException,
IOException
url - the url pointing to the Hazelcast XML file.
MalformedURLException - if the url is not correct
IOException - if something fails while loading the resource.
HazelcastException - if the XML content is invalid
public UrlXmlConfig(String url,
Properties properties)
throws MalformedURLException,
IOException
url - the url pointing to the Hazelcast XML file.properties - the properties for replacing variables.
IllegalArgumentException - if properties is null
MalformedURLException - if the url is not correct
IOException - if something fails while loading the resource.
HazelcastException - if the XML content is invalid
public UrlXmlConfig(URL url)
throws IOException
url - the URL pointing to the Hazelcast XML file.
IOException - if something fails while loading the resource
IllegalArgumentException - if the url is null.
HazelcastException - if the XML content is invalid
public UrlXmlConfig(URL url,
Properties properties)
throws IOException
url - the URL pointing to the Hazelcast XML file.properties - the properties for replacing variables.
IOException - if something fails while loading the resource
IllegalArgumentException - if the url or properties is null.
HazelcastException - if the XML content is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||