Public Member Functions | |
String | getCommandDescription () |
String | getCommandName () |
void | parse (String commandText) throws IOException,ConsoleException |
RefreshLogs (AbstractConsoleModule module) |
Definition at line 40 of file RefreshLogs.java.
|
Creates a new
Definition at line 78 of file RefreshLogs.java. 00079 { 00080 super(module); 00081 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 46 of file RefreshLogs.java. 00047 { 00048 return ConsoleTranslate.get("controller.command.refreshlogs"); 00049 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 53 of file RefreshLogs.java. 00054 { 00055 return "refreshLogs"; 00056 }
|
|
Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand. Definition at line 60 of file RefreshLogs.java. References org.objectweb.cjdbc.console.jmx.RmiJmxClient.getControllerProxy(), and org.objectweb.cjdbc.console.text.Console.println(). 00061 { 00062 try 00063 { 00064 jmxClient.getControllerProxy().refreshLogConfiguration(); 00065 console.println(ConsoleTranslate.get("controller.command.refreshlogs.complete")); 00066 } 00067 catch (Exception e) 00068 { 00069 throw new ConsoleException(ConsoleTranslate.get("controller.command.refreshlogs.failed",e)); 00070 } 00071 00072 }
|