de.fhg.igd.logging
Class ConfigurationChangeAdapter

java.lang.Object
  extended byde.fhg.igd.logging.ConfigurationChangeAdapter
All Implemented Interfaces:
ConfigurationChangeListener, EventListener

public abstract class ConfigurationChangeAdapter
extends Object
implements ConfigurationChangeListener

This is a convenience class intended to be used as an extendable implementation of the ConfigurationChangeListener interface. All method bodies are empty, ready to be overridden, if necessary.

Notice: Originally, the ConfigurationChange event mechanism was meant to be used by a GUI implementation, which is on the To-Do list. Hence, even though the mechanism is fully operational, it is not yet being used by the Logging Framework itself.

Version:
"$Id: ConfigurationChangeAdapter.java 1913 2007-08-08 02:41:53Z jpeters $"
Author:
Matthias Pressfreund

Constructor Summary
ConfigurationChangeAdapter()
          Empty construction.
 
Method Summary
 void bufferChanged(ConfigurationChangeEvent e)
          This method will be called in case a buffer definition has been added, changed or removed.
 void intervalChanged(ConfigurationChangeEvent e)
          This method will be called in case the interval between anchor timestamps has been changed.
 void loggerChanged(ConfigurationChangeEvent e)
          This method will be called in case the underlying logging mechanism has been exchanged.
 void logLevelChanged(ConfigurationChangeEvent e)
          This method will be called in case a log level has been added, changed or removed.
 void outputChanged(ConfigurationChangeEvent e)
          This method will be called in case output destinations have been added, changed or removed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationChangeAdapter

public ConfigurationChangeAdapter()
Empty construction.

Method Detail

loggerChanged

public void loggerChanged(ConfigurationChangeEvent e)
Description copied from interface: ConfigurationChangeListener
This method will be called in case the underlying logging mechanism has been exchanged. Required changes within the logging framework will be carried out here.

Specified by:
loggerChanged in interface ConfigurationChangeListener
Parameters:
e - The corresponding event object

intervalChanged

public void intervalChanged(ConfigurationChangeEvent e)
Description copied from interface: ConfigurationChangeListener
This method will be called in case the interval between anchor timestamps has been changed. Required changes within the logging framework will be carried out here.

Specified by:
intervalChanged in interface ConfigurationChangeListener
Parameters:
e - The corresponding event object

outputChanged

public void outputChanged(ConfigurationChangeEvent e)
Description copied from interface: ConfigurationChangeListener
This method will be called in case output destinations have been added, changed or removed. Required changes within the logging framework will be carried out here.

Specified by:
outputChanged in interface ConfigurationChangeListener
Parameters:
e - The corresponding event object

bufferChanged

public void bufferChanged(ConfigurationChangeEvent e)
Description copied from interface: ConfigurationChangeListener
This method will be called in case a buffer definition has been added, changed or removed. Required changes within the logging framework will be carried out here.

Specified by:
bufferChanged in interface ConfigurationChangeListener
Parameters:
e - The corresponding event object

logLevelChanged

public void logLevelChanged(ConfigurationChangeEvent e)
Description copied from interface: ConfigurationChangeListener
This method will be called in case a log level has been added, changed or removed. Required changes within the logging framework will be carried out here.

Specified by:
logLevelChanged in interface ConfigurationChangeListener
Parameters:
e - The corresponding event object


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.