Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.console.text.commands.controller.RefreshLogs Class Reference

Inheritance diagram for org.objectweb.cjdbc.console.text.commands.controller.RefreshLogs:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.cjdbc.console.text.commands.controller.RefreshLogs:

Collaboration graph
[legend]
List of all members.

Public Member Functions

String getCommandDescription ()
String getCommandName ()
void parse (String commandText) throws IOException,ConsoleException
 RefreshLogs (AbstractConsoleModule module)

Detailed Description

This class defines a RefreshLogs

Author:
Nicolas Modrzyk
Version:
1.0

Definition at line 40 of file RefreshLogs.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.console.text.commands.controller.RefreshLogs.RefreshLogs AbstractConsoleModule  module  ) 
 

Creates a new RefreshLogs.java object

Parameters:
module the command is attached to

Definition at line 78 of file RefreshLogs.java.

00079   {
00080     super(module);
00081   }


Member Function Documentation

String org.objectweb.cjdbc.console.text.commands.controller.RefreshLogs.getCommandDescription  )  [virtual]
 

See also:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.getCommandDescription()

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   }

String org.objectweb.cjdbc.console.text.commands.controller.RefreshLogs.getCommandName  )  [virtual]
 

See also:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.getCommandName()

Implements org.objectweb.cjdbc.console.text.commands.ConsoleCommand.

Definition at line 53 of file RefreshLogs.java.

00054   {
00055     return "refreshLogs";
00056   }

void org.objectweb.cjdbc.console.text.commands.controller.RefreshLogs.parse String  commandText  )  throws IOException,ConsoleException [virtual]
 

See also:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.parse(java.lang.String)

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   }


The documentation for this class was generated from the following file:
Generated on Mon Apr 11 22:02:49 2005 for C-JDBC by  doxygen 1.3.9.1