FileDocCategorySizeDatePackage
MBeanAction.javaAPI DocJBoss 4.2.12415Fri Jul 13 21:02:14 BST 2007org.jboss.console.manager.interfaces.impl

MBeanAction

public class MBeanAction extends Object implements org.jboss.console.navtree.AppletTreeAction
see
author
Sacha Labourey.
version
$Revision: 57191 $

Revisions:

3 janv. 2003 Sacha Labourey:

  • First implementation

Fields Summary
protected ObjectName
targetObjectName
protected String
actionName
protected Object[]
params
protected String[]
signature
Constructors Summary
public MBeanAction()


      
public MBeanAction(ObjectName pName, String pActionName, Object[] pParams, String[] pSignature)

      this.targetObjectName = pName;
      this.actionName = pActionName;
      this.params = pParams;
      this.signature = pSignature;
   
Methods Summary
public voiddoAction(org.jboss.console.navtree.TreeContext tc, org.jboss.console.navtree.AppletBrowser applet)

      try
      {
         tc.getRemoteMBeanInvoker ().invoke(targetObjectName, actionName, params, signature);
      }
      catch (Exception displayed)
      {
         displayed.printStackTrace();
      }