|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.core.config.ProActiveConfiguration
Field Summary | |
protected java.util.HashMap |
addedProperties
|
protected static boolean |
isLoaded
|
protected java.util.HashMap |
loadedProperties
|
protected static ProActiveConfiguration |
singleton
|
Method Summary | |
void |
addProperties()
Add the loaded properties to the system |
protected static void |
createConfiguration()
|
void |
dumpAddedProperties()
Dump properties added to the system, i.e loaded properties which were not already in the system |
void |
dumpLoadedProperties()
Dump loaded properties, i.e properties found in the configuration file |
static java.lang.String |
getACState()
|
static ProActiveConfiguration |
getConfiguration()
|
static java.lang.String |
getLocationServerClass()
|
static java.lang.String |
getLocationServerRmi()
|
static java.lang.String |
getSchemaValidationState()
|
static void |
load()
Load the default configuration The default file is located in the same directory as the ProActiceConfiguration class with the name proacticeConfiguration It is obtained using Class.geressource If the property proactive.configuration is set then its value is used as the configuration file |
static void |
load(java.lang.String filename)
Load the configuration given in filename |
void |
propertyFound(java.lang.String name,
java.lang.String value)
Called by the parser when a property has been found |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.HashMap loadedProperties
protected java.util.HashMap addedProperties
protected static ProActiveConfiguration singleton
protected static boolean isLoaded
Method Detail |
protected static void createConfiguration()
public static void load()
public static void load(java.lang.String filename)
filename
- an XML file namepublic static ProActiveConfiguration getConfiguration()
public void propertyFound(java.lang.String name, java.lang.String value)
name
- name of the propertyvalue
- value of the propertypublic void addProperties()
public void dumpLoadedProperties()
public void dumpAddedProperties()
public static java.lang.String getLocationServerClass()
public static java.lang.String getLocationServerRmi()
public static java.lang.String getACState()
public static java.lang.String getSchemaValidationState()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |