Package xal.service.worker
Class Main
java.lang.Object
xal.service.worker.Main
Main
- Author:
- tap
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final boolean
indicates whether verbose printing is enabledprotected static final Date
The time at which the application was launched -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LAUNCH_TIME
The time at which the application was launched -
IS_VERBOSE
protected static final boolean IS_VERBOSEindicates whether verbose printing is enabled
-
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
run
protected void run()run the service -
main
Main entry point to the service. Run the service.- Parameters:
args
- The launch arguments to the service.
-
getLaunchTime
Get the time when this application was launched.- Returns:
- the time when this application was launched
-
shutdown
public static void shutdown(int code) Shutdown the application
-