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

org.objectweb.cjdbc.console.text.commands.dbadmin.ViewCheckpointNames Class Reference

Inheritance diagram for org.objectweb.cjdbc.console.text.commands.dbadmin.ViewCheckpointNames:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ViewCheckpointNames (VirtualDatabaseAdmin module)
void parse (String commandText) throws Exception
String getCommandName ()
String getCommandDescription ()

Detailed Description

This class defines a ViewCheckpointNames

Author:
Nicolas Modrzyk
Version:
1.0

Definition at line 39 of file ViewCheckpointNames.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.console.text.commands.dbadmin.ViewCheckpointNames.ViewCheckpointNames VirtualDatabaseAdmin  module  ) 
 

Creates a new ViewCheckpointNames object

Parameters:
module module that owns this commands

Definition at line 47 of file ViewCheckpointNames.java.

00048   {
00049     super(module);
00050   }


Member Function Documentation

String org.objectweb.cjdbc.console.text.commands.dbadmin.ViewCheckpointNames.getCommandDescription  )  [virtual]
 

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

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

Definition at line 77 of file ViewCheckpointNames.java.

00078   {
00079     return ConsoleTranslate.get("admin.command.view.checkpoints");
00080   }

String org.objectweb.cjdbc.console.text.commands.dbadmin.ViewCheckpointNames.getCommandName  )  [virtual]
 

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

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

Definition at line 69 of file ViewCheckpointNames.java.

00070   {
00071     return "viewCheckpointNames";
00072   }

void org.objectweb.cjdbc.console.text.commands.dbadmin.ViewCheckpointNames.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 55 of file ViewCheckpointNames.java.

References org.objectweb.cjdbc.console.jmx.RmiJmxClient.getVirtualDatabaseProxy(), org.objectweb.cjdbc.console.text.Console.println(), and org.objectweb.cjdbc.common.jmx.mbeans.VirtualDatabaseMBean.viewCheckpointNames().

00056   {
00057     console.println(ConsoleTranslate.get("admin.command.view.checkpoints.echo",
00058         dbName));
00059     VirtualDatabaseMBean vdjc = jmxClient.getVirtualDatabaseProxy(dbName, user,
00060         password);
00061     ArrayList list = vdjc.viewCheckpointNames();
00062     for (int i = 0; i < list.size(); i++)
00063       console.println("[" + i + "]\t" + list.get(i));
00064   }


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