public abstract class AbstractMain extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
isServer |
static String |
MAIN_ARG_CONFIG |
static String |
MAIN_ARG_CONNECT |
static String |
MAIN_ARG_LOGFILE |
static String |
MAIN_ARG_LOGLEVEL |
static String |
MAIN_ARG_NONEWLOGSTREAM |
| Constructor and Description |
|---|
AbstractMain() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
readC2KArgs(String[] args)
reading and setting input paramaters
Known arguments :
logLevel: the log level 0-9 (+10 to have time, +20 to have only one level)
logFile: the full path of the target log file.
|
static void |
setShutdownHandler(ShutdownHandler handler) |
static void |
shutdown(int errCode) |
public static boolean isServer
public static String MAIN_ARG_NONEWLOGSTREAM
public static String MAIN_ARG_CONFIG
public static String MAIN_ARG_LOGLEVEL
public static String MAIN_ARG_LOGFILE
public static String MAIN_ARG_CONNECT
public static Properties readC2KArgs(String[] args) throws BadArgumentsException
args - BadArgumentsExceptionpublic static void setShutdownHandler(ShutdownHandler handler)
public static void shutdown(int errCode)
Copyright © 1997–2016 CRISTAL-iSE. All rights reserved.