00001 00025 package org.objectweb.cjdbc.console.text.commands.controller; 00026 00027 import org.objectweb.cjdbc.common.i18n.ConsoleTranslate; 00028 import org.objectweb.cjdbc.console.text.commands.ConsoleCommand; 00029 import org.objectweb.cjdbc.console.text.module.AbstractConsoleModule; 00030 00037 public class SaveConfiguration extends ConsoleCommand 00038 { 00039 00045 public SaveConfiguration(AbstractConsoleModule module) 00046 { 00047 super(module); 00048 } 00049 00053 public void parse(String commandText) throws Exception 00054 { 00055 jmxClient.getControllerProxy().saveConfiguration(); 00056 } 00057 00061 public String getCommandName() 00062 { 00063 return "saveConfiguration"; 00064 } 00065 00069 public String getCommandDescription() 00070 { 00071 return ConsoleTranslate.get("controller.command.saveConfiguration"); 00072 } 00073 00074 }