站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 console API Documentation 英文版文档

MBeanServerCommand (JBoss Console API) - JBoss 4.0.1 sp1 console API Documentation 英文版文档


org.jboss.console.twiddle.command
Class MBeanServerCommand

java.lang.Object
  extended byorg.jboss.console.twiddle.command.AbstractCommand
      extended byorg.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


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