com.dctl.j2me.system
Class MainTask
java.lang.Object
|
+--java.lang.Thread
|
+--com.dctl.j2me.system.MainTask
- All Implemented Interfaces:
- Runnable
- public class MainTask
- extends Thread
The main task is the very first task to run and ensures all the static constructors are run
|
Constructor Summary |
MainTask()
Create the main task. |
|
Method Summary |
static void |
createFirstTask()
Create the main task |
void |
run()
The main loop that runs the static initialisers and main program |
| Methods inherited from class java.lang.Thread |
activeCount, currentThread, getName, getPriority, isAlive, join, setPriority, sleep, start, toString, yield |
MainTask
public MainTask()
- Create the main task. The main aim here is to invoke a simple super class initialiser
that does not read the properties
run
public void run()
- The main loop that runs the static initialisers and main program
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
createFirstTask
public static final void createFirstTask()
- Create the main task
DCT Lightfoot v3 API specification