javax.management
Class MBeanInfo

java.lang.Objec
  |
  +--

javax.management.MBeanInfo

Direct Known Subclasses:

ModelMBeanInfoSupport


public class

MBeanInfo

extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Describes the management interface exposed by an MBean; that is, the set of attributes and operations which are available for management operations.

Version:

1.8

Author:

Cosimo Vampo, Massimiliano Parlione, Kenneth Barron

See Also:

Serialized Form


Constructor Summary

java.lang.String, java.lang.String, javax.management.MBeanAttributeInfo[], javax.management.MBeanConstructorInfo[], javax.management.MBeanOperationInfo[], javax.management.MBeanNotificationInfo[])">MBeanInfo(java.lang.String className, java.lang.String description, MBeanAttributeInfo[] attributes, MBeanConstructorInfo[] constructors, MBeanOperationInfo[] operations, MBeanNotificationInfo[] notifications)
Constructs an MBeanInfo.
 

Method Summary

 java.lang.Object clone()
Creates and returns a copy of this object.
 MBeanAttributeInfo[] getAttributes()
Returns the list of attributes exposed for management.
 java.lang.String getClassName()
Returns the name of the Java class of the MBean described by this MBeanInfo.
 MBeanConstructorInfo[] getConstructors()
Returns the list of the public constructors of the MBean.
 java.lang.String getDescription()
Returns a human readable description of the MBean.
 MBeanNotificationInfo[] getNotifications()
Returns the list of the notifications emitted by the MBean.
 MBeanOperationInfo[] getOperations()
Returns the list of operations of the MBean.
 

Methods inherited from class java.lang.Object

equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

java.lang.String, java.lang.String, javax.management.MBeanAttributeInfo[], javax.management.MBeanConstructorInfo[], javax.management.MBeanOperationInfo[], javax.management.MBeanNotificationInfo[])">

 

MBeanInfo

public 

MBeanInfo

(java.lang.String className, java.lang.String description, MBeanAttributeInfo[] attributes, MBeanConstructorInfo[] constructors, MBeanOperationInfo[] operations, MBeanNotificationInfo[] notifications)
Constructs an MBeanInfo.

Parameters:

className - The name of the Java class of the MBean described by this MBeanInfo.
description - A human readable description of the MBean (optional).
attributes - The list of exposed attributes of the MBean.
constructors - The list of public constructors of the MBean.
operations - The list of operations of the MBean.
notifications - The list of notifications emitted by an MBean.

Method Detail

 

getClassName

public java.lang.String 

getClassName

()
Returns the name of the Java class of the MBean described by this MBeanInfo.


 

getNotifications

public MBeanNotificationInfo[] 

getNotifications

()
Returns the list of the notifications emitted by the MBean. Each notification is described by an MBeanNotificationInfo object.

Returns:

An array of MBeanNotificationInfo objects.


 

getAttributes

public MBeanAttributeInfo[] 

getAttributes

()
Returns the list of attributes exposed for management. Each attribute is described by an MBeanAttributeInfo object.

Returns:

An array of MBeanAttributeInfo objects.


 

getConstructors

public MBeanConstructorInfo[] 

getConstructors

()
Returns the list of the public constructors of the MBean. Each constructor is described by an MBeanConstructorInfo object.

Returns:

An array of MBeanConstructorInfo objects.


 

getOperations

public MBeanOperationInfo[] 

getOperations

()
Returns the list of operations of the MBean. Each operation is described by an MBeanOperationInfo object.

Returns:

An array of MBeanOperationInfo objects.


 

getDescription

public java.lang.String 

getDescription

()
Returns a human readable description of the MBean.


 

clone

public java.lang.Object 

clone

()
Creates and returns a copy of this object.

Overrides:

clone in class java.lang.Object