org.globus.cog.abstraction.impl.common
Class AbstractionProperties

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended byorg.globus.cog.abstraction.impl.common.AbstractionProperties
All Implemented Interfaces:
Cloneable, Map, Serializable

public class AbstractionProperties
extends Properties

See Also:
Serialized Form

Nested Class Summary
static class AbstractionProperties.Properties
           
static class AbstractionProperties.Property
           
 
Field Summary
static String ALIAS
           
static String CLASS_LOADER_BOOTCLASS
           
static String CLASS_LOADER_NAME
           
static String CLASS_LOADER_PROPERTIES
           
static String CLASS_LOADER_USESYSTEM
           
static String PROVIDER_PROPERTY_FILE
           
static String SANDBOX
           
static String SANDBOX_BOOTCLASS
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
AbstractionProperties()
           
AbstractionProperties(String file)
           
 
Method Summary
static String getAliasesAsString()
           
 boolean getBooleanProperty(String key)
           
 boolean getBooleanProperty(String name, boolean defaultValue)
           
static AbstractionProperties getProperties(String provider)
           
 String getProperty(String key)
           
static List getProviders()
           
 void load(InputStream is)
           
 void load(String file)
           
protected static void loadProviderProperties()
           
 void put(String key, String value)
           
 
Methods inherited from class java.util.Properties
getProperty, list, list, propertyNames, save, setProperty, store
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PROVIDER_PROPERTY_FILE

public static final String PROVIDER_PROPERTY_FILE
See Also:
Constant Field Values

CLASS_LOADER_NAME

public static final String CLASS_LOADER_NAME
See Also:
Constant Field Values

CLASS_LOADER_PROPERTIES

public static final String CLASS_LOADER_PROPERTIES
See Also:
Constant Field Values

CLASS_LOADER_BOOTCLASS

public static final String CLASS_LOADER_BOOTCLASS
See Also:
Constant Field Values

CLASS_LOADER_USESYSTEM

public static final String CLASS_LOADER_USESYSTEM
See Also:
Constant Field Values

SANDBOX

public static final String SANDBOX
See Also:
Constant Field Values

SANDBOX_BOOTCLASS

public static final String SANDBOX_BOOTCLASS
See Also:
Constant Field Values

ALIAS

public static final String ALIAS
See Also:
Constant Field Values
Constructor Detail

AbstractionProperties

public AbstractionProperties()

AbstractionProperties

public AbstractionProperties(String file)
                      throws IOException
Method Detail

getProviders

public static List getProviders()

getAliasesAsString

public static String getAliasesAsString()

getProperties

public static AbstractionProperties getProperties(String provider)
                                           throws InvalidProviderException
Throws:
InvalidProviderException

loadProviderProperties

protected static void loadProviderProperties()

load

public void load(String file)
          throws IOException
Throws:
IOException

getProperty

public String getProperty(String key)

getBooleanProperty

public boolean getBooleanProperty(String key)

getBooleanProperty

public boolean getBooleanProperty(String name,
                                  boolean defaultValue)

put

public void put(String key,
                String value)

load

public void load(InputStream is)
          throws IOException
Throws:
IOException