jfrace
Interface Configurator
- All Known Implementing Classes:
- CPMEmulatorConfigurator
- public interface Configurator
Interface for all Devices
which needs a
parameter dependent configuration. The class name of
an implementation has to fullfill the following the
naming rule: The full class name of the
Device
followed by the string
Configurator
.
- Author:
- Franz-Josef Elmer
Method Summary |
boolean |
configurate(AddressSpace as,
java.lang.String configResources,
java.lang.String packagePrefix,
java.lang.String[] args)
Create and configurate a Device which will be
attached to the address space. |
configurate
public boolean configurate(AddressSpace as,
java.lang.String configResources,
java.lang.String packagePrefix,
java.lang.String[] args)
- Create and configurate a
Device
which will be
attached to the address space.
- Parameters:
as
- Address space to which the device will be attached.configResources
- Configuration details as well as
address offset and mode mask for the
address space. Will often be a
the name of a configuration file.packagePrefix
- Package prefix from the emulator
configuration file.args
- Optional command line arguments- Returns:
true
if the device has been successfully
configurated and added to the address space.