org.ejtools.jmx
Interface MBeanAccessor

All Superinterfaces:
MBeanInvokeAccessor

public interface MBeanAccessor
extends MBeanInvokeAccessor

Tag interface to be implemented by object that provides access to MBean informations

Version:
$Revision: 1.8 $
Author:
Laurent Etiemble

Method Summary
 java.lang.Object getAttribute(java.lang.String attribute)
          Gets the attribute attribute of the MBeanAccessor object
 javax.management.AttributeList getAttributes(java.lang.String[] as)
          Gets the attributes attribute of the MBeanAccessor object
 java.lang.String getCanonicalName()
          Gets the canonicalName attribute of the MBeanAccessor object
 javax.management.MBeanInfo getMBeanInfo()
          Gets the mBeanInfo attribute of the MBeanAccessor object
 javax.management.ObjectInstance getObjectInstance()
          Gets the objectInstance attribute of the MBeanAccessor object
 javax.management.ObjectName getObjectName()
          Gets the objectName attribute of the MBeanAccessor object
 boolean isInstanceOf(java.lang.String s)
          Gets the instanceOf attribute of the MBeanAccessor object
 void setAttribute(javax.management.Attribute attribute)
          Sets the attribute attribute of the MBeanAccessor object
 javax.management.AttributeList setAttributes(javax.management.AttributeList attributelist)
          Sets the attributes attribute of the MBeanAccessor object
 void unregisterMBean()
          Description of the Method
 
Methods inherited from interface org.ejtools.jmx.MBeanInvokeAccessor
invoke
 

Method Detail

getObjectInstance

public javax.management.ObjectInstance getObjectInstance()
                                                  throws java.lang.Exception
Gets the objectInstance attribute of the MBeanAccessor object

Returns:
The objectInstance value
Throws:
java.lang.Exception - Description of the Exception

getAttributes

public javax.management.AttributeList getAttributes(java.lang.String[] as)
                                             throws java.lang.Exception
Gets the attributes attribute of the MBeanAccessor object

Parameters:
as - Description of the Parameter
Returns:
The attributes value
Throws:
java.lang.Exception - Description of the Exception

setAttributes

public javax.management.AttributeList setAttributes(javax.management.AttributeList attributelist)
                                             throws java.lang.Exception
Sets the attributes attribute of the MBeanAccessor object

Parameters:
attributelist - The new attributes value
Returns:
Description of the Return Value
Throws:
java.lang.Exception - Description of the Exception

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()
Gets the mBeanInfo attribute of the MBeanAccessor object

Returns:
The mBeanInfo value

isInstanceOf

public boolean isInstanceOf(java.lang.String s)
                     throws java.lang.Exception
Gets the instanceOf attribute of the MBeanAccessor object

Parameters:
s - Description of the Parameter
Returns:
The instanceOf value
Throws:
java.lang.Exception - Description of the Exception

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws java.lang.Exception
Sets the attribute attribute of the MBeanAccessor object

Parameters:
attribute - The new attribute value
Throws:
java.lang.Exception - Description of the Exception

getObjectName

public javax.management.ObjectName getObjectName()
Gets the objectName attribute of the MBeanAccessor object

Returns:
The objectName value

getCanonicalName

public java.lang.String getCanonicalName()
Gets the canonicalName attribute of the MBeanAccessor object

Returns:
The canonicalName value

getAttribute

public java.lang.Object getAttribute(java.lang.String attribute)
                              throws java.lang.Exception
Gets the attribute attribute of the MBeanAccessor object

Parameters:
attribute - Description of the Parameter
Returns:
The attribute value
Throws:
java.lang.Exception - Description of the Exception

unregisterMBean

public void unregisterMBean()
                     throws java.lang.Exception
Description of the Method

Throws:
java.lang.Exception - Description of the Exception


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.