Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.console.twiddle.command
Class MBeanServerCommand

    java.lang.Object
      org.jboss.console.twiddle.command.AbstractCommand
          org.jboss.console.twiddle.command.MBeanServerCommand

All Implemented Interfaces:
  Cloneable, Command

Direct Known Subclasses:
  CreateCommand, GetCommand, InfoCommand, InvokeCommand, QueryCommand, ServerInfoCommand, SetAttrsCommand, SetCommand, UnregisterCommand

public abstract class MBeanServerCommand
extends AbstractCommand

An abstract command to opperate on an MBeanServer.

Version:
  `$Revision: 1.6 $`
Author:
  Jason Dillon, Scott.Stark@jboss.org

Field Summary

Fields inherited from class org.jboss.console.twiddle.command.AbstractCommand
`context, desc, log, name`

Constructor Summary
`protected` | `MBeanServerCommand(String name, String desc)`

Method Summary
`protected javax.management.ObjectName` | `createObjectName(String name)`
`protected javax.management.MBeanServerConnection` | `getMBeanServer()`
`protected javax.management.ObjectName[]` | `queryMBeans(String query)`

Methods inherited from class org.jboss.console.twiddle.command.AbstractCommand
`clone, getDescription, getName, setCommandContext, unsetCommandContext`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.jboss.console.twiddle.command.Command
`displayHelp, execute`

Constructor Detail

### MBeanServerCommand

    protected MBeanServerCommand(String name,
                                 String desc)

Method Detail

### createObjectName

    protected javax.management.ObjectName createObjectName(String name)
                                                    throws CommandException

  Throws:
    `CommandException`

### getMBeanServer

    protected javax.management.MBeanServerConnection getMBeanServer()

### queryMBeans

    protected javax.management.ObjectName[] queryMBeans(String query)
                                                 throws Exception

  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.