Public Member Functions | |
ShowBackends (VirtualDatabaseAdmin module) | |
void | parse (String commandText) throws Exception |
String | getCommandName () |
String | getCommandDescription () |
Definition at line 38 of file dbadmin/ShowBackends.java.
|
Creates a new
Definition at line 46 of file dbadmin/ShowBackends.java. 00047 { 00048 super(module); 00049 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 72 of file dbadmin/ShowBackends.java. 00073 { 00074 return ConsoleTranslate.get("admin.command.showbackends"); 00075 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 63 of file dbadmin/ShowBackends.java. 00064 { 00065 00066 return "showbackends"; 00067 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 54 of file dbadmin/ShowBackends.java. References org.objectweb.cjdbc.console.jmx.RmiJmxClient.getVirtualDatabaseProxy(), org.objectweb.cjdbc.common.jmx.mbeans.VirtualDatabaseMBean.retrieveBackendsData(), and org.objectweb.cjdbc.console.text.Console.showInfo(). 00055 {
00056 VirtualDatabaseMBean db = jmxClient.getVirtualDatabaseProxy(dbName,user,password);
00057 console.showInfo(db.retrieveBackendsData(),new BackendViewer(null));
00058 }
|