org.openrdf.sesame.config
Interface SystemConfigHandler

All Known Implementing Classes:
SystemConfigFileHandler

public interface SystemConfigHandler

Interface for objects that know how to handle (i.e. load and store) system configuration information.

See Also:
SystemConfig

Method Summary
 Set getParameterNames()
          Get the names of the parameters this handler requires.
 SystemConfig loadConfig()
          Load the system configuration.
 void setParameters(Map parameters)
          Set the parameters for this handler.
 void storeConfig(SystemConfig config)
          Store the system configuration.
 

Method Detail

getParameterNames

public Set getParameterNames()
Get the names of the parameters this handler requires.


setParameters

public void setParameters(Map parameters)
Set the parameters for this handler.

Parameters:
parameters - a map of parameter names to their values
See Also:
getParameterNames()

loadConfig

public SystemConfig loadConfig()
                        throws Exception
Load the system configuration.

Returns:
the SystemConfig
Throws:
Exception

storeConfig

public void storeConfig(SystemConfig config)
                 throws Exception
Store the system configuration.

Parameters:
config - the SystemConfig
Throws:
Exception


Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.