| Constructor and Description |
|---|
Server() |
public static void start(String configFile)
configFile - The path to the xml (spring) configuration file null null for default.public static void start(String configFile, String propertiesFile)
configFile - The path to the xml (spring) configuration file null null for default.propertiesFile - The name of the properties file containing the grid's properties.
You may, of course use Spring's <context:property-placeholder location="classpath:com/foo/bar.properties"/> but this parameter is helpful when you want to use the same xml configuration
with different properties for different instances.public static void main(String[] args) throws Exception
args[0] is the path xml (spring) configuration file
and the second (if it exists) is the path to a properties file (referenced in the config-file).args - the command line argumentsException