| |
|
| java.lang.Object com.teamkonzept.lib.ConfigurationManager
ConfigurationManager | public class ConfigurationManager (Code) | | The Configuration Manager is designed as a registry for Configuration
Listeners. These listeners may register themselves in different arbitrary
contexts. Notification of registered listeners is triggered by a dedicated
method.
version: 1.0 since: 1.0 author: © 2001 Team-Konzept |
deregisterConfigurationListener | public synchronized void deregisterConfigurationListener(ConfigurationListener listener, Object context)(Code) | | Deregisters a configuration listener with the manager.
The method silently returns when either the listener or the
context object is null.
Parameters: listener - a configuration listener. Parameters: context - a registration context. |
getInstance | public static synchronized ConfigurationManager getInstance()(Code) | | Returns the singleton instance of the Configuration Manager.
the singleton instance of the Configuration Manager. |
notifyListeners | public synchronized void notifyListeners(Object context) throws TKException(Code) | | Notifies all listeners filed under the registration context.
The method silently returns when the context object is null.
Parameters: context - a registration context. |
registerConfigurationListener | public synchronized void registerConfigurationListener(ConfigurationListener listener, Object context)(Code) | | Registers a configuration listener with the manager.
The method silently returns when either the listener or the
context object is null.
Parameters: listener - a configuration listener. Parameters: context - a registration context. |
|
|
|