edu.cmu.sphinx.util.props
Interface ConfigurationChangeListener


public interface ConfigurationChangeListener

Describes all methods necessary to process change events of a ConfigurationManager.

Author:
Holger Brandl
See Also:
ConfigurationManager

Method Summary
 void componentAdded(ConfigurationManager cm, PropertySheet ps)
          Called if a new compoenent defined by ps was registered to the ConfigurationManager cm.
 void componentRemoved(ConfigurationManager cm, PropertySheet ps)
          Called if a compoenent defined by ps was unregistered (removed) from the ConfigurationManager cm.
 void componentRenamed(ConfigurationManager cm, PropertySheet ps, java.lang.String oldName)
          Called if a compoenent was renamed.
 void configurationChanged(java.lang.String configurableName, java.lang.String propertyName, ConfigurationManager cm)
          Called if the configuration of a registered compoenent named configurableName was changed.
 

Method Detail

configurationChanged

void configurationChanged(java.lang.String configurableName,
                          java.lang.String propertyName,
                          ConfigurationManager cm)
Called if the configuration of a registered compoenent named configurableName was changed.

Parameters:
configurableName - The name of the changed configurable.
propertyName - The name of the property which was changed
cm - The ConfigurationManager-instance this component is registered to

componentAdded

void componentAdded(ConfigurationManager cm,
                    PropertySheet ps)
Called if a new compoenent defined by ps was registered to the ConfigurationManager cm.


componentRemoved

void componentRemoved(ConfigurationManager cm,
                      PropertySheet ps)
Called if a compoenent defined by ps was unregistered (removed) from the ConfigurationManager cm.


componentRenamed

void componentRenamed(ConfigurationManager cm,
                      PropertySheet ps,
                      java.lang.String oldName)
Called if a compoenent was renamed.