org.ogf.saga.bootstrap
Class SagaProperties

java.lang.Object
  extended by org.ogf.saga.bootstrap.SagaProperties

public final class SagaProperties
extends Object

Properties for Saga. The getDefaultProperties() method obtains the properties in the following order: a file saga.properties is searched for in the classpath, and in the current directory. If found, it is read as a properties file, and the properties contained in it are set. Next, the system properties are obtained. These may override the properties set so far. The properties are used to determine the Saga implementation, and may also be used by Saga implementations for implementation-specific properties.


Field Summary
static String FACTORY
          Property name for selecting a Saga implementation.
static String PREFIX
          All our own properties start with this prefix.
static String PROPERTIES_FILE
          Property name of the property file.
static String PROPERTIES_FILENAME
          Filename for the properties.
 
Method Summary
static Properties getDefaultProperties()
          Loads properties from the standard configuration file locations.
static Map<String,String> getDescriptions()
          Returns a map mapping hard-coded property names to their descriptions.
static Properties getHardcodedProperties()
          Returns the hard-coded properties of Saga.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTIES_FILENAME

public static final String PROPERTIES_FILENAME
Filename for the properties.

See Also:
Constant Field Values

PREFIX

public static final String PREFIX
All our own properties start with this prefix.

See Also:
Constant Field Values

FACTORY

public static final String FACTORY
Property name for selecting a Saga implementation.

See Also:
Constant Field Values

PROPERTIES_FILE

public static final String PROPERTIES_FILE
Property name of the property file.

See Also:
Constant Field Values
Method Detail

getHardcodedProperties

public static Properties getHardcodedProperties()
Returns the hard-coded properties of Saga.

Returns:
the resulting properties.

getDescriptions

public static Map<String,String> getDescriptions()
Returns a map mapping hard-coded property names to their descriptions.

Returns:
the name/description map.

getDefaultProperties

public static Properties getDefaultProperties()
Loads properties from the standard configuration file locations.



Copyright © 2014 Open Grid Forum. All rights reserved.