00001 00025 package org.objectweb.cjdbc.console.text.commands.monitor; 00026 00027 import org.objectweb.cjdbc.console.jmx.RmiJmxClient; 00028 import org.objectweb.cjdbc.console.text.commands.ConsoleCommand; 00029 import org.objectweb.cjdbc.console.text.module.MonitorConsole; 00030 00037 public abstract class AbstractMonitorCommand extends ConsoleCommand 00038 { 00039 00040 protected MonitorConsole module; 00041 protected RmiJmxClient jmxClient; 00042 protected String currentTarget; 00043 00049 public AbstractMonitorCommand(MonitorConsole module) 00050 { 00051 super(module); 00052 this.module = module; 00053 this.currentTarget = module.getCurrentTarget(); 00054 this.jmxClient = console.getJmxClient(); 00055 } 00056 00062 public void setCurrentTarget(String currentTarget) 00063 { 00064 this.currentTarget = currentTarget; 00065 } 00066 }