1 24 25 package org.objectweb.cjdbc.console.text.commands.monitor; 26 27 import org.objectweb.cjdbc.console.jmx.RmiJmxClient; 28 import org.objectweb.cjdbc.console.text.commands.ConsoleCommand; 29 import org.objectweb.cjdbc.console.text.module.MonitorConsole; 30 31 37 public abstract class AbstractMonitorCommand extends ConsoleCommand 38 { 39 40 protected MonitorConsole module; 41 protected RmiJmxClient jmxClient; 42 protected String currentTarget; 43 44 49 public AbstractMonitorCommand(MonitorConsole module) 50 { 51 super(module); 52 this.module = module; 53 this.currentTarget = module.getCurrentTarget(); 54 this.jmxClient = console.getJmxClient(); 55 } 56 57 62 public void setCurrentTarget(String currentTarget) 63 { 64 this.currentTarget = currentTarget; 65 } 66 } 67 | Popular Tags |