Sequoia text console
List of consoles
- {@link org.continuent.sequoia.console.text.module.ControllerConsole controller console}
- {@link org.continuent.sequoia.console.text.module.VirtualDatabaseAdmin VirtualDataBase admin console}
- {@link org.continuent.sequoia.console.text.module.VirtualDatabaseConsole VirtualDataBase console}
Design
Modules
in the code, a console (e.g. controller console) is represented by a module.
- the main module is {@link org.continuent.sequoia.console.text.module.ControllerConsole}
- each module is represented by a subtype of {@link org.continuent.sequoia.console.text.module.AbstractConsoleModule}
- each module has a list of commands set in its {@link org.continuent.sequoia.console.text.module.AbstractConsoleModule#loadCommands()} method
Commands
The commands follow the Command Pattern.
- each command is represented by a subtype of {@link org.continuent.sequoia.console.text.commands.ConsoleCommand}
- each command has a {@link org.continuent.sequoia.console.text.commands.ConsoleCommand#parse(String)} method which represents the command to execute
- most of the command are mapped to a command on Sequoia through MBeans
- calls to JMX are handled by JMX proxies through {@link org.continuent.sequoia.console.jmx.RmiJmxClient}
|