net.sf.taverna.raven.appconfig.bootstrap
Class AbstractConfiguration

java.lang.Object
  extended by net.sf.taverna.raven.appconfig.bootstrap.AbstractConfiguration
Direct Known Subclasses:
Log4JConfiguration, MyGridConfiguration, ProxyConfiguration, RavenProperties

public abstract class AbstractConfiguration
extends java.lang.Object

Base class for configuration files. Subclass specifies the configuration file. This class handled checking the $taverna.home/conf and $taverna.startup/conf locations for the configuration file in that order.

Author:
Stuart Owen

Constructor Summary
AbstractConfiguration()
           
 
Method Summary
 void flush()
          Clears the properties causing them to reinitialise when next accessed.
 java.util.Properties getProperties()
          Initialises and provides access to the list of Properties.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfiguration

public AbstractConfiguration()
Method Detail

getProperties

public java.util.Properties getProperties()
Initialises and provides access to the list of Properties.

Returns:

flush

public void flush()
Clears the properties causing them to reinitialise when next accessed.