All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.nodeos.Main
java.lang.Object
   |
   +----edu.utah.janos.nodeos.Main

  Summary

public class  Main
     extends java.lang.Object
{
          // Constructors 1
     public Main();

          // Methods 3
     private static void defineSystemPackages(String);
     public static void main(String[]);
     private static void startRootFlow(String, String[]);


          // Inner Classes 1
     private static class Main.RootFlowTermHandler
}

Boot the Janos Java NodeOS. Initializes the underlying native NodeOS, sets up the basic system packages in the ClassLoader, and creates the root flow.

Author:
Janos Ministry of Development




  Constructors

· Main

Summary  |  Top

   public Main() 

Default constructor



  Methods

· main

Summary  |  Top
   public static void main(String[] args) 

All Janos active routers start with this function. We load up native libraries, define the set of "system" packages, and fire up the root flow. The arguments to main() should be a class to instantiate in the root flow and whatever arguments it wants.

See Also: FlowClassLoader



· startRootFlow

Summary  |  Top
   private static void startRootFlow(String initClass, 
                                     String[] initArgs) 

Start the native root flow. Not really the "root flow" in Moab case, as we start the root flow in md.c before Kaffe's main even gets going.



· defineSystemPackages

Summary  |  Top
   private static void defineSystemPackages(String initPackage) 

Define the set of "system" packages that are loaded into the system flow. This set is basically fixed, except for the implicit package passed on the command line.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7