01: /**
02: * Copyright 2004 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: */package com.sun.portal.admin.cli.commands.search;
13:
14: import java.util.*;
15:
16: // JMX
17: import javax.management.MBeanServerConnection;
18: import javax.management.ObjectName;
19: import javax.management.InstanceNotFoundException;
20: import javax.management.MBeanException;
21: import javax.management.ReflectionException;
22: import javax.management.MalformedObjectNameException;
23: import javax.management.RuntimeOperationsException;
24:
25: // PS Admin Common
26: import com.sun.portal.admin.common.util.AdminClientUtil;
27:
28: // CLI framework
29: import com.sun.enterprise.cli.framework.*;
30:
31: // Base Class
32: import com.sun.portal.admin.cli.commands.GenericCommand;
33:
34: /**
35: * This class implements the psadmin stop-robot subcommand.
36: */
37: public class StopRobotCommand extends GenericCommand {
38:
39: /**
40: * Hide return value from MBean
41: * @param object
42: */
43: protected void handleReturnValue(Object object) {
44: CLILogger.getInstance().printMessage("");
45: }
46:
47: }
|