org.jcoderz.commons.config
Interface ConfigurationServiceAdminInterface

All Superinterfaces:
ConfigurationServiceCommonInterface
All Known Subinterfaces:
ConfigurationServiceAdmin
All Known Implementing Classes:
ConfigurationServiceAdminBean, ConfigurationServiceAdminImpl, ConfigurationServiceAdminSession

public interface ConfigurationServiceAdminInterface
extends ConfigurationServiceCommonInterface

ConfigurationService's Administration interface. This class holds all business logic of the service related to administrative tasks like getting all configuration keys or single configuration values. For future releases the modification or update mechanisms to manipulate configuration data will be extended here.


Method Summary
 Set getKeys()
          Returns an immutable Set containing all keys present in the configuration.
 
Methods inherited from interface org.jcoderz.commons.config.ConfigurationServiceCommonInterface
getBoolean, getInt, getLong, getString
 

Method Detail

getKeys

Set getKeys()
            throws RemoteException,
                   ConfigurationInitializationFailedException
Returns an immutable Set containing all keys present in the configuration. The keys are ConfigurationKey objects. In case there are no keys, the Set is empty.

Returns:
the Set of all existing ConfigurationKey objects. Or empty set if no data is stored.
Throws:
RemoteException - if a remote call fails.
ConfigurationInitializationFailedException - if the requested configuration keys could not be fetched, or if a key could not be transformed to a valid ConfigurationKey instance. This could only occur, for general config resource problems, therefor the initialization failure is thrown instead of the underlying ArgumentMalformedException.


Copyright 2007 The jCoderZ Project.