public final class SagaProperties extends Object
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.Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String PROPERTIES_FILENAME
public static final String PREFIX
public static final String FACTORY
public static final String PROPERTIES_FILE
public static Properties getHardcodedProperties()
public static Map<String,String> getDescriptions()
public static Properties getDefaultProperties()
Copyright © 2016 Open Grid Forum. All rights reserved.