org.openmms.util
Class Config

java.lang.Object
  |
  +--org.openmms.util.Config

public class Config
extends java.lang.Object

Title: Config

Description: Configuration class which uses "Singleton pattern" to establish a, so to speak, permanent object
Usage: Config.getInstance().getErrorLogFile();

Copyright: Copyright (c) 2003 OpenMMS.org


Method Summary
 java.lang.String getErrorLogFile()
          Returns the error logfile path
 java.lang.String getIdLogFile()
          Returns the id logfile path
static Config getInstance()
          Checks to see if the configfile has been modified since it was read.
 java.lang.String getRequestLogFile()
          Returns the request logfile path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Config getInstance()
Checks to see if the configfile has been modified since it was read. If it has been read a new Config object is created, and returned.

Returns:
current configobject

getErrorLogFile

public java.lang.String getErrorLogFile()
Returns the error logfile path

Returns:
error logfile path

getRequestLogFile

public java.lang.String getRequestLogFile()
Returns the request logfile path

Returns:
request logfile path

getIdLogFile

public java.lang.String getIdLogFile()
Returns the id logfile path

Returns:
id logfile path