クラス org.objectweb.cjdbc.console.text.commands.monitor.ChangeTarget

org.objectweb.cjdbc.console.text.commands.monitor.ChangeTargetに対する継承グラフ

Inheritance graph
[凡例]
org.objectweb.cjdbc.console.text.commands.monitor.ChangeTargetのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

説明

This class defines a ChangeTarget

作者:
Nicolas Modrzyk
バージョン:
1.0

ChangeTarget.java37 行で定義されています。

Public メソッド

 ChangeTarget (MonitorConsole module)
void parse (String commandText) throws Exception
String getCommandName ()
String getCommandDescription ()


コンストラクタとデストラクタ

org.objectweb.cjdbc.console.text.commands.monitor.ChangeTarget.ChangeTarget MonitorConsole  module  ) 
 

Creates a new ChangeTarget.java object

引数:
module monitoring module
ChangeTarget.java45 行で定義されています。
00046 { 00047 super(module); 00048 }


メソッド

String org.objectweb.cjdbc.console.text.commands.monitor.ChangeTarget.getCommandDescription  )  [virtual]
 

参照:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.getCommandDescription()

org.objectweb.cjdbc.console.text.commands.ConsoleCommandを実装しています.

ChangeTarget.java91 行で定義されています。

00092 { 00093 return ConsoleTranslate.get("monitor.command.settarget"); 00094 }

String org.objectweb.cjdbc.console.text.commands.monitor.ChangeTarget.getCommandName  )  [virtual]
 

参照:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.getCommandName()

org.objectweb.cjdbc.console.text.commands.ConsoleCommandを実装しています.

ChangeTarget.java83 行で定義されています。

00084 { 00085 return "setTarget"; 00086 }

void org.objectweb.cjdbc.console.text.commands.monitor.ChangeTarget.parse String  commandText  )  throws Exception [virtual]
 

参照:
org.objectweb.cjdbc.console.text.commands.ConsoleCommand.parse(java.lang.String)

org.objectweb.cjdbc.console.text.commands.ConsoleCommandを実装しています.

ChangeTarget.java53 行で定義されています。

参照先 org.objectweb.cjdbc.console.jmx.RmiJmxClient.getDataCollectorProxy(), org.objectweb.cjdbc.console.jmx.RmiJmxClient.getRemoteName(), org.objectweb.cjdbc.console.text.Console.printError(), と org.objectweb.cjdbc.console.text.module.MonitorConsole.setCurrentTarget().

00054 { 00055 try 00056 { 00057 String target = commandText.trim(); 00058 String possibleTarget = target.trim(); 00059 if (target == null || target.equals("")) 00060 { 00061 module.setCurrentTarget(jmxClient.getRemoteName()); 00062 } else 00063 { 00064 if (jmxClient.getDataCollectorProxy() 00065 .hasVirtualDatabase(possibleTarget)) 00066 { 00067 // change the target for all commands 00068 module.setCurrentTarget(possibleTarget); 00069 } else 00070 console.printError(ConsoleTranslate.get( 00071 "module.database.invalid", possibleTarget)); 00072 } 00073 } catch (Exception e) 00074 { 00075 throw new ConsoleException("monitor.command.settarget.failed",e); 00076 } 00077 00078 }


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:31 2004に生成されました。 doxygen 1.3.8