org.objectweb.proactive.core.config
Class ProActiveConfiguration

java.lang.Object
  extended byorg.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()
           
static java.lang.String getACState()
           
static java.lang.String getAttachedResourceServer()
           
static java.lang.String getCheckpointServer()
           
static ProActiveConfiguration getConfiguration()
           
static java.lang.String getFTState()
           
static java.lang.String getGlobalFTServer()
           
static java.lang.String getLocationServer()
           
static java.lang.String getLocationServerClass()
           
static java.lang.String getLocationServerRmi()
           
static java.lang.String getRecoveryServer()
           
static java.lang.String getSchemaValidationState()
           
static java.lang.String getTTCValue()
           
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


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()

getFTState

public static java.lang.String getFTState()

getCheckpointServer

public static java.lang.String getCheckpointServer()

getLocationServer

public static java.lang.String getLocationServer()

getRecoveryServer

public static java.lang.String getRecoveryServer()

getGlobalFTServer

public static java.lang.String getGlobalFTServer()

getTTCValue

public static java.lang.String getTTCValue()

getAttachedResourceServer

public static java.lang.String getAttachedResourceServer()


Copyright ? April 2005 INRIA All Rights Reserved.