1 23 24 package com.sun.enterprise.cli.commands; 25 26 import com.sun.enterprise.cli.framework.*; 27 28 import java.util.Vector ; 29 import javax.naming.NameClassPair ; 30 import java.util.Iterator ; 31 import java.util.ArrayList ; 32 import javax.management.MBeanServerConnection ; 33 import javax.management.ObjectName ; 34 35 36 public class ListJDBCConnectionPoolCommand extends GenericCommand 37 { 38 39 public boolean validateOptions() throws CommandValidationException 40 { 41 super.validateOptions(); 42 43 if (getOperands().size() == 1) 44 { 45 CLILogger.getInstance().printWarning(getLocalizedString("OperandTargetDeprecated")); 46 } 47 return true; 48 } 49 } 50 | Popular Tags |