de.janrufmonitor.framework.command
Class AbstractConfigurableCommand
java.lang.Object
de.janrufmonitor.framework.command.AbstractCommand
de.janrufmonitor.framework.command.AbstractConfigurableCommand
- All Implemented Interfaces:
- ICommand, IConfigurable
public abstract class AbstractConfigurableCommand
- extends AbstractCommand
- implements IConfigurable
This class is an abstract implementation of a command with
configuration capabilities.
- Author:
- Thilo Brandt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_configuration
protected Properties m_configuration
AbstractConfigurableCommand
public AbstractConfigurableCommand()
getConfigurableID
public String getConfigurableID()
- Description copied from interface:
IConfigurable
- Gets the ID of the configurable object.
- Specified by:
getConfigurableID in interface IConfigurable
- Returns:
- a valid and unique ID
setConfiguration
public void setConfiguration(Properties configuration)
- Description copied from interface:
IConfigurable
- Sets the configuration in the configurable object.
This method is called by the configuration notifier
to interact with its registered components.
- Specified by:
setConfiguration in interface IConfigurable
- Parameters:
configuration - the configuration for the given namespace
Copyright © 2010 by Thilo Brandt. All Rights Reserved.