jade
Class Boot

java.lang.Object
  |
  +--jade.Boot

public class Boot
extends java.lang.Object

Boots JADE system, parsing command line arguments.

Author:
Giovanni Rimassa - Universita` di Parma

Method Summary
static void checkProperties(java.util.Properties p)
          This method verifies the configuration properties and eventually correct them.
static java.lang.String getCopyrightNotice()
          Return a String with copyright Notice, Name and Version of this version of JADE
static void main(java.lang.String[] args)
          Fires up JADE system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCopyrightNotice

public static java.lang.String getCopyrightNotice()
Return a String with copyright Notice, Name and Version of this version of JADE

main

public static void main(java.lang.String[] args)
Fires up JADE system. This method starts the bootstrap process for JADE agent platform. It parses command line arguments and acts accordingly. Valid command line arguments: In any case the properties specified by command line replace the properties read by a file (if specified) or the default ones.

checkProperties

public static void checkProperties(java.util.Properties p)
                            throws BootException
This method verifies the configuration properties and eventually correct them. If both the properties "platform" and "container" are set to true the a platform will be launched an and exception will be thrown. If the user wants to start a platform the host must be the local host so if a different name is speficied it will be corrected and an exception will be thrown.