com.anthonyeden.lib.config
Interface Configurable


public interface Configurable

Interface which can be implemented by any object which should be configurable using the EdenLib configuration objects.

Author:
Anthony Eden

Method Summary
 void loadConfiguration(Configuration configuration)
          Load the configuration using the given configuration object.
 void saveConfiguration(MutableConfiguration configuration)
          Save the configuration to the given configuration object.
 

Method Detail

loadConfiguration

public void loadConfiguration(Configuration configuration)
                       throws ConfigurationException
Load the configuration using the given configuration object.

Parameters:
configuration - The configuration object
Throws:
ConfigurationException - Exception during configuration

saveConfiguration

public void saveConfiguration(MutableConfiguration configuration)
                       throws ConfigurationException
Save the configuration to the given configuration object.

Parameters:
configuration - The mutable configuration object
Throws:
ConfigurationException - Exception during configuration


Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.