|
||||||||||
| 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.FileSystemXmlConfig
public class FileSystemXmlConfig
A Config which is which includes functionality for loading itself from a
XML configuration file.
| Constructor Summary | |
|---|---|
FileSystemXmlConfig(File configFile)
Creates a Config based on a Hazelcast xml file and uses the System.properties to resolve variables in the XML. |
|
FileSystemXmlConfig(File configFile,
Properties properties)
Creates a Config based on a Hazelcast xml file. |
|
FileSystemXmlConfig(String configFilename)
Creates a Config based on some Hazelcast xml file and uses the System.properties to resolve variables in the XML. |
|
FileSystemXmlConfig(String configFilename,
Properties properties)
Creates a Config based on some Hazelcast xml file. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileSystemXmlConfig(String configFilename)
throws FileNotFoundException
configFilename - the path of the file.
NullPointerException - if configFilename is null.
FileNotFoundException - fi the file is not found.
HazelcastException - if the XML content is invalid
public FileSystemXmlConfig(String configFilename,
Properties properties)
throws FileNotFoundException
configFilename - the path of the file.properties - the Properties to use to resolve variables in the XML.
FileNotFoundException - fi the file is not found.
NullPointerException - if configFilename is null.
IllegalArgumentException - if properties is null.
HazelcastException - if the XML content is invalid
public FileSystemXmlConfig(File configFile)
throws FileNotFoundException
configFile - the configuration file.
FileNotFoundException - if the file doesn't exist.
HazelcastException - if the XML content is invalid
public FileSystemXmlConfig(File configFile,
Properties properties)
throws FileNotFoundException
configFile - the configuration file.properties - the Properties to resolve variables in the XML.
IllegalArgumentException - if configFile or properties is null.
FileNotFoundException - if the file doesn't exist.
HazelcastException - if the XML content is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||