Public Member Functions | |
ControllerConsole (Console console) | |
void | quit () |
String | getPromptString () |
void | login (String[] params) |
String | getDescriptionString () |
Protected Member Functions | |
void | loadCommands () |
Definition at line 50 of file ControllerConsole.java.
|
Creates a new
Definition at line 58 of file ControllerConsole.java. 00059 { 00060 super(console); 00061 }
|
|
Implements org.objectweb.cjdbc.console.text.module.AbstractConsoleModule. Definition at line 114 of file ControllerConsole.java. 00115 { 00116 return "Controller"; 00117 }
|
|
Implements org.objectweb.cjdbc.console.text.module.AbstractConsoleModule. Definition at line 98 of file ControllerConsole.java. References org.objectweb.cjdbc.console.text.Console.getJmxClient(), and org.objectweb.cjdbc.console.jmx.RmiJmxClient.getRemoteName(). 00099 {
00100 return console.getJmxClient().getRemoteName();
00101 }
|
|
Implements org.objectweb.cjdbc.console.text.module.AbstractConsoleModule. Definition at line 66 of file ControllerConsole.java. 00067 { 00068 commands.add(new AddDriver(this)); 00069 commands.add(new RefreshLogs(this)); 00070 commands.add(new Shutdown(this)); 00071 commands.add(new GetXml(this)); 00072 commands.add(new Report(this)); 00073 commands.add(new SaveConfiguration(this)); 00074 commands.add(new GetInfo(this)); 00075 commands.add(new ListDatabases(this)); 00076 commands.add(new Load(this)); 00077 commands.add(new Admin(this)); 00078 commands.add(new Bind(this)); 00079 commands.add(new Connect(this)); 00080 commands.add(new Monitor(this)); 00081 commands.add(new DropDB(this)); 00082 }
|
|
Implements org.objectweb.cjdbc.console.text.module.AbstractConsoleModule. Definition at line 106 of file ControllerConsole.java. 00107 {
00108 // do nothing
00109 }
|
|
Reimplemented from org.objectweb.cjdbc.console.text.module.AbstractConsoleModule. Definition at line 87 of file ControllerConsole.java. References org.objectweb.cjdbc.console.text.Console.println(), and org.objectweb.cjdbc.console.text.module.ControllerConsole.quit(). Referenced by org.objectweb.cjdbc.console.text.module.ControllerConsole.quit(). 00088 { 00089 quit = true; 00090 console.println(""); 00091 console.println(ConsoleTranslate.get("console.byebye")); 00092 //System.exit(0); 00093 }
|