de.janrufmonitor.framework.configuration
Interface IConfigurable

All Known Implementing Classes:
AbstractConfigurableCallerManager, AbstractConfigurableCallManager, AbstractConfigurableCommand, AbstractConfigurableService, AbstractDatabaseCallerManager, AbstractDatabaseCallManager, AbstractFilterCallManager, AbstractPersistentCallManager, AbstractReadOnlyCallerManager, AbstractReadOnlyDatabaseCallerManager, AbstractReadWriteCallerManager, AbstractReceiverConfigurableService, AbstractWebCallerManager

public interface IConfigurable

This interface must be implemented by a object which has to be notified by setting or changing the configuration in the framework. This interface should be implemented e.g. by services, repository managers and components which interact with the configuration manager.

Author:
Thilo Brandt

Method Summary
 String getConfigurableID()
          Gets the ID of the configurable object.
 String getNamespace()
          Gets the namespace of the configurable object.
 void setConfiguration(Properties configuration)
          Sets the configuration in the configurable object.
 

Method Detail

getNamespace

String getNamespace()
Gets the namespace of the configurable object.

Returns:
a valid and unique namespace

getConfigurableID

String getConfigurableID()
Gets the ID of the configurable object.

Returns:
a valid and unique ID

setConfiguration

void setConfiguration(Properties configuration)
Sets the configuration in the configurable object. This method is called by the configuration notifier to interact with its registered components.

Parameters:
configuration - the configuration for the given namespace


Copyright © 2010 by Thilo Brandt. All Rights Reserved.