aleph
Class Config

java.lang.Object
  |
  +--aleph.Config

public class Config
extends java.lang.Object

System and user-specific customization.

Some of the more useful run-time flags:

  • -Daleph.batch
  • -Daleph.logging
  • -Daleph.verbosity=n


    Field Summary
    static java.lang.String[] about
              What to display in about menu item.
    static java.lang.String alephDirectory
              Main aleph directory
    static java.awt.Color background
              Background color for output windows.
    static java.lang.String banner
              Banner displayed on startup.
    static boolean batch
              Run without a gui console? Override with -Daleph.batch or -Daleph.noBatch.
    static java.util.Map commRegistry
              Map short names for communication managers to class names.
    static java.lang.String communicationManager
              Default communication manager.
    static boolean confirm
              Confirm before doing anything serious: Override with -Daleph.confirm or -Daleph.noConfirm
    static java.lang.String copyright
              Banner displayed on startup.
    static java.lang.String defaultCommand
              Default contents of command line.
    static java.lang.String directoryManager
              Default directory manager.
    static java.util.Map dirRegistry
              Map short alias for directory managers to class names.
    static java.lang.String eventManager
              Default event manager.
    static java.util.Map eventRegistry
              Map short names for event managers to class names.
    static java.awt.Color foreground
              Foreground color for output windows.
    static java.lang.String[] hosts
              Array of default host names.
    static java.io.File logDir
              The Aleph server writes logs, debugging output, and instrumentation output to this directory.
    static boolean logging
              Log the console? Also set by -Daleph.logging flag.
    static int maxPEs
              Maximum number of PEs.
    static boolean noCompiler
              Run without a JIT compiler.
    static int numPEs
              If zero, Aleph initially creates one PE at each active host.
    static java.lang.String pathJava
              Where to find java.
    static java.lang.String pathRsh
              Where to find rsh (used by Unix tools.) Override with -Daleph.pathRsh=p.
    static boolean popup
              Should warning and error messages be displayed in popup windows? Override with -Daleph.popup or -Daleph.noPopup.
    static int PORT
              Unique port number for servers.
    static java.lang.String screenImage
              Relative path for screen image;
    static java.lang.String splashImage
              Relative path for splash image;
    static java.lang.String transactionManager
              Default transaction manager.
    static java.util.Map transRegistry
              Map short names for transaction managers to class names.
    static int verbosity
              Controls how many messages are displayed.
    static java.lang.String version
              Aleph version number.
     
    Constructor Summary
    Config()
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    version

    public static final java.lang.String version
    Aleph version number.

    PORT

    public static final int PORT
    Unique port number for servers. Override with -Daleph.port=n

    hosts

    public static java.lang.String[] hosts
    Array of default host names.

    verbosity

    public static final int verbosity
    Controls how many messages are displayed. Can be Constants.LACONIC, Constants.LOQUACIOUS, or Constants.BLOVIATING.

    numPEs

    public static final int numPEs
    If zero, Aleph initially creates one PE at each active host. If n, Aleph initially creates n PEs, in round-robin order at the hosts. Overridden with -Daleph.numPEs=n, or by the console.

    maxPEs

    public static final int maxPEs
    Maximum number of PEs. Override with -Daleph.maxPEs=n.

    pathJava

    public static java.lang.String pathJava
    Where to find java.

    logging

    public static final boolean logging
    Log the console? Also set by -Daleph.logging flag.

    logDir

    public static java.io.File logDir
    The Aleph server writes logs, debugging output, and instrumentation output to this directory. If the directory does not exist, it will try to create it. The directory name can be absolute or relative.

    batch

    public static final boolean batch
    Run without a gui console? Override with -Daleph.batch or -Daleph.noBatch.

    pathRsh

    public static final java.lang.String pathRsh
    Where to find rsh (used by Unix tools.) Override with -Daleph.pathRsh=p.

    noCompiler

    public static final boolean noCompiler
    Run without a JIT compiler. Applications will be much slower, but error messages may be clearer.

    banner

    public static final java.lang.String banner
    Banner displayed on startup.

    copyright

    public static final java.lang.String copyright
    Banner displayed on startup.

    about

    public static java.lang.String[] about
    What to display in about menu item.

    alephDirectory

    public static java.lang.String alephDirectory
    Main aleph directory

    splashImage

    public static java.lang.String splashImage
    Relative path for splash image;

    screenImage

    public static java.lang.String screenImage
    Relative path for screen image;

    background

    public static java.awt.Color background
    Background color for output windows.

    foreground

    public static java.awt.Color foreground
    Foreground color for output windows.

    confirm

    public static final boolean confirm
    Confirm before doing anything serious: Override with -Daleph.confirm or -Daleph.noConfirm

    defaultCommand

    public static final java.lang.String defaultCommand
    Default contents of command line.

    commRegistry

    public static java.util.Map commRegistry
    Map short names for communication managers to class names.

    communicationManager

    public static java.lang.String communicationManager
    Default communication manager. Overridden by -Daleph.communicationManager=LABEL.

    dirRegistry

    public static java.util.Map dirRegistry
    Map short alias for directory managers to class names.

    directoryManager

    public static java.lang.String directoryManager
    Default directory manager. Overridden by -Daleph.directoryManager=LABEL.

    eventRegistry

    public static java.util.Map eventRegistry
    Map short names for event managers to class names.

    eventManager

    public static java.lang.String eventManager
    Default event manager. Overridden by -Daleph.eventManager=ALIAS.

    transRegistry

    public static java.util.Map transRegistry
    Map short names for transaction managers to class names.

    transactionManager

    public static java.lang.String transactionManager
    Default transaction manager. Overridden by -Daleph.transactionManager=ALIAS.

    popup

    public static boolean popup
    Should warning and error messages be displayed in popup windows? Override with -Daleph.popup or -Daleph.noPopup. Ignored in batch mode.
    Constructor Detail

    Config

    public Config()