at.spardat.xma.boot
Class BootRuntime

java.lang.Object
  extended byat.spardat.xma.boot.BootRuntime

public class BootRuntime
extends java.lang.Object

The BootRuntime holds information about the client/machine environment for the boot runtime.


Method Summary
 void debugJavaParameter()
          debug java environment parameters.
 AppManager getAppManager()
           
 java.util.Properties getConfigProperties()
           
 java.io.File getDataDirectory()
           
 java.lang.Boolean getDebug()
           
 java.io.File getInstallDirectory()
           
static BootRuntime getInstance()
           
static BootRuntime initialize(java.io.File fileBaseDir, Logger l)
          initialize before usage
 void setConfigProperties(java.util.Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

debugJavaParameter

public void debugJavaParameter()
debug java environment parameters.


getInstallDirectory

public java.io.File getInstallDirectory()
Returns:
the root working-directory for this machine

getAppManager

public AppManager getAppManager()
Returns:
AppManager the application manager instance

getInstance

public static BootRuntime getInstance()
Returns:
BootRuntime runtimce instance

initialize

public static BootRuntime initialize(java.io.File fileBaseDir,
                                     Logger l)
                              throws java.io.IOException
initialize before usage

Parameters:
fileBaseDir - base directory
Throws:
java.lang.IllegalArgumentException - if file does not exist.
java.io.IOException

getDebug

public java.lang.Boolean getDebug()
Returns:
boolean true for debug mode

getConfigProperties

public java.util.Properties getConfigProperties()
Returns:
configuration properties

setConfigProperties

public void setConfigProperties(java.util.Properties properties)
Parameters:
properties - configuration information

getDataDirectory

public java.io.File getDataDirectory()
Returns:
File data directory