Public Member Functions | |
ViewDumpNames (VirtualDatabaseAdmin module) | |
void | parse (String commandText) throws Exception |
String | getCommandName () |
String | getCommandDescription () |
Definition at line 40 of file ViewDumpNames.java.
|
Creates a new
Definition at line 48 of file ViewDumpNames.java. 00049 { 00050 super(module); 00051 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 78 of file ViewDumpNames.java. 00079 { 00080 return ConsoleTranslate.get("admin.command.view.dumps"); 00081 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 70 of file ViewDumpNames.java. 00071 { 00072 return "viewDumpNames"; 00073 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 56 of file ViewDumpNames.java. References org.objectweb.cjdbc.common.jmx.mbeans.VirtualDatabaseMBean.getAvailableDumpFiles(), org.objectweb.cjdbc.console.jmx.RmiJmxClient.getVirtualDatabaseProxy(), and org.objectweb.cjdbc.console.text.Console.println(). 00057 { 00058 console.println(ConsoleTranslate.get("admin.command.view.dumps.echo", 00059 dbName)); 00060 VirtualDatabaseMBean vdjc = jmxClient.getVirtualDatabaseProxy(dbName, user, 00061 password); 00062 File[] files = vdjc.getAvailableDumpFiles(); 00063 for (int i = 0; i < files.length; i++) 00064 console.println("[" + i + "]\t" + files[i].getName()); 00065 }
|