gov.bnl.star.offline.scheduler
Class SchedulerProperties

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.SchedulerProperties

Deprecated.

public class SchedulerProperties
extends java.lang.Object

Manages the scheduler runtime properties and the scheduler.properties files in which they are stored.

Properties are first looked into the scheduler.properties file. If they don't appear there, it falls back to gov/bnl/star/offline/scheduler/scheduler.properties. Therefore, the second file contains the default settings, and will be packages inside the jar. While the first will be in the file system to be edited by the scheduler administrator

Version:
$Revision: 1.10 $ $Date: 2006/11/21 00:41:32 $
Author:
Gabriele Carcassi

Method Summary
static SchedulerProperties getInstance()
          Deprecated. Returns the instance of the property manager.
 int getIntProperty(java.lang.String name)
          Deprecated.  
 java.lang.String getProperty(java.lang.String name)
          Deprecated. Returns the property with the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SchedulerProperties getInstance()
Deprecated. 
Returns the instance of the property manager.


getProperty

public java.lang.String getProperty(java.lang.String name)
Deprecated. 
Returns the property with the specified name. First, it looks in the user specific file. If it fails, looks into the default file. If also that fails, an error is displayed and the application exits.


getIntProperty

public int getIntProperty(java.lang.String name)
Deprecated. 


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.