- java.lang.Object
-
- aeonics.Plugin
-
- aeonics.Boot
-
public class Boot extends Plugin
This is the main entry point of the system
-
-
Field Summary
Fields Modifier and Type Field Description static longBOOT_TIMEThis is the JVM start time in ms.static java.lang.StringCREDITSThese are the author credits.static BootINSTANCEThis is the boot plugin instance.static java.lang.ThreadMAINThis is the main thread of the application.static longSTART_TIMEThis is the first static initialization time in ms.static java.lang.StringVERSIONThis is the current version of the system.
-
Constructor Summary
Constructors Constructor Description Boot()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringdescription()Returns this plugin description.static voidmain(java.lang.String[] args)This is the main entry point of the systemstatic voidspark(java.lang.Runnable value)Sets the system spark function to trigger the application start once all plugins are loaed.protected voidstart()This method will be called by the lifecycle manager after all required dependencies are met.java.lang.Stringsummary()Returns this plugin summary.-
Methods inherited from class aeonics.Plugin
all, getModuleLayer, initialize, name
-
-
-
-
Field Detail
-
START_TIME
public static final long START_TIME
This is the first static initialization time in ms. It means that the JVM has booted and loaded theBootclass.
-
BOOT_TIME
public static final long BOOT_TIME
This is the JVM start time in ms.
-
VERSION
public static final java.lang.String VERSION
This is the current version of the system.- See Also:
- Constant Field Values
-
MAIN
public static final java.lang.Thread MAIN
This is the main thread of the application.
-
INSTANCE
public static final Boot INSTANCE
This is the boot plugin instance.
-
CREDITS
public static final java.lang.String CREDITS
These are the author credits. This must remain untouched and appear at application start.- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
This is the main entry point of the system- Parameters:
args- command line arguments
-
spark
public static void spark(java.lang.Runnable value)
Sets the system spark function to trigger the application start once all plugins are loaed.First come, first served. Only one spark function is allowed.
When the spark function returns, the system shuts down.
- Parameters:
value- the system spark function
-
summary
public java.lang.String summary()
Description copied from class:PluginReturns this plugin summary.
-
description
public java.lang.String description()
Description copied from class:PluginReturns this plugin description.- Specified by:
descriptionin classPlugin- Returns:
- the plugin description
-
-