org.objectweb.proactive.core.config
Class ProActiveConfiguration

java.lang.Object
  |
  +--org.objectweb.proactive.core.config.ProActiveConfiguration

public class ProActiveConfiguration
extends java.lang.Object


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

loadedProperties

protected java.util.HashMap loadedProperties

addedProperties

protected java.util.HashMap addedProperties

singleton

protected static ProActiveConfiguration singleton

isLoaded

protected static boolean isLoaded
Method Detail

createConfiguration

protected static void createConfiguration()

load

public 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


load

public static void load(java.lang.String filename)
Load the configuration given in filename

Parameters:
filename - an XML file name

getConfiguration

public static ProActiveConfiguration getConfiguration()

propertyFound

public void propertyFound(java.lang.String name,
                          java.lang.String value)
Called by the parser when a property has been found

Parameters:
name - name of the property
value - value of the property

addProperties

public void addProperties()
Add the loaded properties to the system


dumpLoadedProperties

public void dumpLoadedProperties()
Dump loaded properties, i.e properties found in the configuration file


dumpAddedProperties

public void dumpAddedProperties()
Dump properties added to the system, i.e loaded properties which were not already in the system


getLocationServerClass

public static java.lang.String getLocationServerClass()

getLocationServerRmi

public static java.lang.String getLocationServerRmi()

getACState

public static java.lang.String getACState()

getSchemaValidationState

public static java.lang.String getSchemaValidationState()


Copyright © April 2004 INRIA All Rights Reserved.