CaosDBServer
-
public class
CaosDBServer
extends Application
Fields
Methods
addPostShutdownHook
addPreShutdownHook
createInboundRoot
getServerInfo
-
public static ServerInfo
getServerInfo
()
getServerProperties
-
public static Properties
getServerProperties
()
initTimeZone
-
public static void
initTimeZone
() Precedence order:
- ServerProperty “TIMEZONE”
- JVM property “user.timezone”
- Environment variable “TZ”
- Output of posix’ “date +%Z”
Throws: - InterruptedException –
- IOException –
main
-
public static void
main
(String[] args) This main method starts up a web application that will listen on a port defined in the config file.
Parameters: - args – One option temporarily (for testing) available: silent: If present: disable System.out-stream (stream to a NullPrintStream). This makes the response of the database amazingly faster.
Throws: - IOException –
- FileNotFoundException –
- SecurityException –
- Exception – If problems occur.