javax.management
Class MBeanInfo

java.lang.Object
  extended byjavax.management.MBeanInfo
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
ModelMBeanInfoSupport (src) , OpenMBeanInfoSupport (src)

public class MBeanInfo
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Describes an MBeans' management interface. This implementation protects its immutability by taking shallow clones of all arrays supplied in constructors and by returning shallow array clones in getXXX() methods.

See Also:
MBeanServer (src) , Serialized Form

Constructor Summary
MBeanInfo(java.lang.String className, java.lang.String description, MBeanAttributeInfo (src) [] attributes, MBeanConstructorInfo (src) [] constructors, MBeanOperationInfo (src) [] operations, MBeanNotificationInfo (src) [] notifications)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object object)
           
 MBeanAttributeInfo (src) [] getAttributes()
           
 java.lang.String getClassName()
           
 MBeanConstructorInfo (src) [] getConstructors()
           
 java.lang.String getDescription()
           
 MBeanNotificationInfo (src) [] getNotifications()
           
 MBeanOperationInfo (src) [] getOperations()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBeanInfo

public MBeanInfo(java.lang.String className,
                 java.lang.String description,
                 MBeanAttributeInfo (src) [] attributes,
                 MBeanConstructorInfo (src) [] constructors,
                 MBeanOperationInfo (src) [] operations,
                 MBeanNotificationInfo (src) [] notifications)
          throws java.lang.IllegalArgumentException
Method Detail

getClassName

public java.lang.String getClassName()

getDescription

public java.lang.String getDescription()

getAttributes

public MBeanAttributeInfo (src) [] getAttributes()

getOperations

public MBeanOperationInfo (src) [] getOperations()

getConstructors

public MBeanConstructorInfo (src) [] getConstructors()

getNotifications

public MBeanNotificationInfo (src) [] getNotifications()

equals

public boolean equals(java.lang.Object object)

hashCode

public int hashCode()

toString

public java.lang.String toString()
Returns:
a human readable string

clone

public java.lang.Object clone()