org.tubo.system.main
Class Daemon

java.lang.Object
  extended by org.tubo.system.main.Daemon

public class Daemon
extends java.lang.Object

Created: Aug 22, 2006, 6:55:09 PM Last Modification Date: $Date: 2006-10-19 12:11:35 -0300 (Thu, 19 Oct 2006) $

Version:
$Revision: 17 $
Author:
maldito_orco (maldito_orco@users.sourceforge.net)

Field Summary
static java.lang.String RCS_ID
           
 
Constructor Summary
Daemon()
          Default Constructor
 
Method Summary
 java.lang.String getBaseConfigLocation()
           
 java.lang.String getConfigLocation()
           
static void main(java.lang.String[] args)
          Static entry point allowing a Kernel to be run from the command line.
protected static void processArgs(Daemon daemon, java.lang.String[] args)
           
 void setBaseConfigLocation(java.lang.String baseConfigLocation)
           
 void setConfigLocation(java.lang.String configLocation)
           
protected  void startup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
See Also:
Constant Field Values
Constructor Detail

Daemon

public Daemon()
Default Constructor

Method Detail

startup

protected void startup()

getBaseConfigLocation

public java.lang.String getBaseConfigLocation()

setBaseConfigLocation

public void setBaseConfigLocation(java.lang.String baseConfigLocation)

getConfigLocation

public java.lang.String getConfigLocation()

setConfigLocation

public void setConfigLocation(java.lang.String configLocation)

processArgs

protected static void processArgs(Daemon daemon,
                                  java.lang.String[] args)

main

public static void main(java.lang.String[] args)
Static entry point allowing a Kernel to be run from the command line. Once the Kernel is booted and the configuration is loaded, the process will remain running until the shutdown() method on the kernel is invoked or until the JVM exits.

Parameters:
args - the command line arguments


Copyright © 2004-2007 Tubo. All Rights Reserved.