org.globalse.arena.server
Class StartArena
java.lang.Object
org.globalse.arena.server.StartArena
public class StartArena
- extends java.lang.Object
This class provides the main method for starting an arena server. It takes an
optional argument on the command line which specified a filename or a URL for
a properties file. The properties understood by StartArena include:
ArenaPort (default 1099) The TCP/IP port on which the arena server should accept RMI connections
CodeBase (no default) A list of space-separated URLs specifying where to load game-specified and tournament style specific classes.
TournamentStyles (no default) A space-separated list of fully qualified class names of tournament styles to be loaded into this arena.
Games (no default) A space-separated list of fully qualified class names of games to be loaded into this arena.
SetupDemo (default false) A flag specifying whether test users, leagues, tournaments, and matches should be created.
In addition, this class will use the properties file to initialize the loggers. See the
documentation on java.util.logging for information about logging properties.
Once it creates and intializes the arena, this class dynamically loads the specified tournament styles
and games and registers them. If at any point the initialization or loading fails, the main method
exists with status 1.
- Author:
- Allen Dutoit
|
Method Summary |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartArena
public StartArena()
main
public static void main(java.lang.String[] args)
Copyright © 2004-2007 Bernd Bruegge & Allen H. Dutoit. All Rights Reserved.