com.objectwave.configuration
Interface ConfigurationService

All Known Implementing Classes:
DefaultConfigurationService, XmlConfigurationService

public interface ConfigurationService

The abstract set of features provided by the configuration service. It's pretty much one way for now.

Version:
$Id: ConfigurationService.java,v 2.1 2002/02/28 04:19:56 dave_hoag Exp $
Author:
David Hoag

Method Summary
 java.lang.String getCategoryId(PropertySource context)
          Gets the CategoryId attribute of the ConfigurationService object
 java.lang.Object getPropertyHolder(PropertySource context)
          Gets the PropertyHolder attribute of the ConfigurationService object
 java.lang.Object getPropertyHolder(PropertySource context, java.lang.String customCategory)
          Gets the PropertyHolder attribute of the ConfigurationService object
 

Method Detail

getPropertyHolder

public java.lang.Object getPropertyHolder(PropertySource context)
                                   throws ConfigurationException
Gets the PropertyHolder attribute of the ConfigurationService object

Parameters:
context -
Returns:
The actual object holding the configuration properties
Throws:
ConfigurationException

getPropertyHolder

public java.lang.Object getPropertyHolder(PropertySource context,
                                          java.lang.String customCategory)
                                   throws ConfigurationException
Gets the PropertyHolder attribute of the ConfigurationService object

Parameters:
context -
customCategory -
Returns:
The actual object holding the configuration properties
Throws:
ConfigurationException

getCategoryId

public java.lang.String getCategoryId(PropertySource context)
Gets the CategoryId attribute of the ConfigurationService object

Parameters:
context -
Returns:
A string identifier relating to the provided context and the selected configuration service