FileDocCategorySizeDatePackage
MBeanResource.javaAPI DocJBoss 4.2.13303Fri Jul 13 21:02:16 BST 2007org.jboss.console.manager.interfaces.impl

MBeanResource

public class MBeanResource extends Object implements org.jboss.console.manager.interfaces.ManageableResource
see
author
Sacha Labourey.
version
$Revision: 57191 $

Revisions:

December 16, 2002 Sacha Labourey:

  • First implementation

Fields Summary
String
className
ObjectName
oj
transient Object
mbean
Constructors Summary
public MBeanResource()

 // SUPPORT FOR REMOTE MBEANS!!!!
   
   // Static --------------------------------------------------------
   
   // Constructors --------------------------------------------------
   
      
public MBeanResource(ObjectName oj, String clazz)

      this.oj = oj;
      this.className = clazz;
   
public MBeanResource(ObjectName oj, String clazz, Object proxy)

      this.oj = oj;
      this.className = clazz;
      this.mbean = proxy;
   
Methods Summary
public booleanequals(java.lang.Object other)

      if (other instanceof MBeanResource)
         return this.oj.equals (((MBeanResource)other).oj);
      else
         return false;
   
public java.lang.StringgetClassName()

      return this.className;
   
public java.lang.StringgetId()

      return this.oj.toString ();
   
public java.lang.ObjectgetMBeanProxy()

      return this.mbean;
   
public javax.management.ObjectNamegetObjectName()

      return this.oj;