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

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

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GetInfo (AbstractConsoleModule module)
void parse (String commandText) throws Exception
String getCommandName ()
String getCommandDescription ()

Detailed Description

This class defines a GetInfo

Author:
Nicolas Modrzyk

Emmanuel Cecchet

Version:
1.0

Definition at line 41 of file GetInfo.java.


Constructor & Destructor Documentation

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

Creates a new GetInfo.java object

Parameters:
module the command is attached to

Definition at line 49 of file GetInfo.java.

00050   {
00051     super(module);
00052   }


Member Function Documentation

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

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

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

Definition at line 83 of file GetInfo.java.

00084   {
00085     return ConsoleTranslate.get("controller.command.getInfo");
00086   }

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

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

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

Definition at line 75 of file GetInfo.java.

00076   {
00077     return "getInfo";
00078   }

void org.objectweb.cjdbc.console.text.commands.controller.GetInfo.parse String  commandText  )  throws Exception [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 57 of file GetInfo.java.

References org.objectweb.cjdbc.console.jmx.RmiJmxClient.getControllerProxy(), and org.objectweb.cjdbc.console.text.Console.println().

00058   {
00059     try
00060     {
00061       console.println(XmlTools.applyXsl(
00062           jmxClient.getControllerProxy().getXml(), "c-jdbc-controller.xsl"));
00063     }
00064     catch (Exception e)
00065     {
00066       throw new ConsoleException(ConsoleTranslate.get(
00067           "controller.command.getInfo.failed", e));
00068     }
00069 
00070   }


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