src/org/objectweb/cjdbc/console/text/commands/dbadmin/DisableAll.java

説明を見る。
00001 00025 package org.objectweb.cjdbc.console.text.commands.dbadmin; 00026 00027 import org.objectweb.cjdbc.common.i18n.ConsoleTranslate; 00028 import org.objectweb.cjdbc.common.jmx.mbeans.VirtualDatabaseMBean; 00029 import org.objectweb.cjdbc.console.text.module.VirtualDatabaseAdmin; 00030 00037 public class DisableAll extends AbstractAdminCommand 00038 { 00039 00045 public DisableAll(VirtualDatabaseAdmin module) 00046 { 00047 super(module); 00048 } 00049 00053 public void parse(String commandText) throws Exception 00054 { 00055 String checkpointName = null; 00056 try 00057 { 00058 checkpointName = commandText.trim(); 00059 } 00060 catch (Exception e) 00061 { 00062 00063 } 00064 VirtualDatabaseMBean vdjc = jmxClient.getVirtualDatabaseProxy(dbName, user, 00065 password); 00066 if (checkpointName == null || checkpointName.equals("")) 00067 vdjc.disableAllBackend(); 00068 else 00069 vdjc.disableAllBackendForCheckpoint(checkpointName); 00070 } 00071 00075 public String getCommandName() 00076 { 00077 00078 return "disableAll"; 00079 } 00080 00084 public String getCommandDescription() 00085 { 00086 return ConsoleTranslate.get("admin.command.disableAll"); 00087 } 00088 00089 }

CJDBCversion1.0.4に対してTue Oct 12 15:15:59 2004に生成されました。 doxygen 1.3.8