kortsoft.kmx.bootstrap
Class KmxLauncher

java.lang.Object
  extended by kortsoft.kmx.bootstrap.KmxLauncher

public class KmxLauncher
extends java.lang.Object

Class in charge of initial class loading. It takes a property configuration file (well from the classpath in the same package as this class and name kmxlauncher.properties, well from the filename passed as argument to the main function.

These are the properties expected:

Before execute the Main Class, the Launcher adds a Shutdown Hook. This hook calls closeServices() on the KmxMain interface.

Author:
kortatu

Nested Class Summary
protected static class KmxLauncher.Finalizer
           
 
Field Summary
protected static KmxLauncher.Finalizer finalizador
           
static java.lang.String LIB_DIR_PARAM
           
static java.lang.String MAIN_CLASS_PARAM
           
static java.lang.String PROP_FILE_NAME
           
static java.lang.String RESOURCES_DIR_PARAM
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_FILE_NAME

public static final java.lang.String PROP_FILE_NAME
See Also:
Constant Field Values

LIB_DIR_PARAM

public static final java.lang.String LIB_DIR_PARAM
See Also:
Constant Field Values

RESOURCES_DIR_PARAM

public static final java.lang.String RESOURCES_DIR_PARAM
See Also:
Constant Field Values

MAIN_CLASS_PARAM

public static final java.lang.String MAIN_CLASS_PARAM
See Also:
Constant Field Values

finalizador

protected static KmxLauncher.Finalizer finalizador
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 Kortsoft. All Rights Reserved.