textbender.a.r.desk
Class Run

java.lang.Object
  extended by Run

@ThreadSafe
public final class Run
extends Object

A run of the desk daemon. The single instance of Run is available via Run.i().


Method Summary
static Run i()
          The single instance of Run.
 boolean isFileSystemCaseSensitive()
           
static void main(String[] argumentArray)
          Starts the run from the command line, or from JNLP (e.g.
 Spool spool()
          Spool unwound just before this run ends, at VM shut-down.
 void start()
          Starts the run programmatically.
 boolean wasStartCommenced()
          Returns true if this run has started.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

i

public static Run i()
The single instance of Run.


main

public static void main(String[] argumentArray)
Starts the run from the command line, or from JNLP (e.g. Web Start).

Parameters:
argumentArray - of length zero (there ought to be no arguments)
Throws:
IllegalStateException - if called more than once

start

public void start()
           throws NotBoundException,
                  IOException
Starts the run programmatically. The desk executor thread will keep the VM running (if nothing else does) until shut-down is requested.

Throws:
IllegalStateException - if called more than once
NotBoundException
IOException

isFileSystemCaseSensitive

public boolean isFileSystemCaseSensitive()

spool

public Spool spool()
Spool unwound just before this run ends, at VM shut-down.


wasStartCommenced

public boolean wasStartCommenced()
Returns true if this run has started.