javax.management
Class MBeanInfo
java.lang.Object
javax.management.MBeanInfo
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- ModelMBeanInfoSupport, OpenMBeanInfoSupport
public class MBeanInfo
- extends Object
- implements Cloneable, 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.
- Version:
- $Revision: 1.13.6.3 $
Revisions:
20020711 Adrian Brock:
- Author:
- Juha Lindfors., Trevor Squires., Adrian Brock
- See Also:
MBeanServer
,
Serialized Form
MBeanInfo
public MBeanInfo(String className,
String description,
MBeanAttributeInfo[] attributes,
MBeanConstructorInfo[] constructors,
MBeanOperationInfo[] operations,
MBeanNotificationInfo[] notifications)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getClassName
public String getClassName()
getDescription
public String getDescription()
getAttributes
public MBeanAttributeInfo[] getAttributes()
getOperations
public MBeanOperationInfo[] getOperations()
getConstructors
public MBeanConstructorInfo[] getConstructors()
getNotifications
public MBeanNotificationInfo[] getNotifications()
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
- Returns:
- a human readable string
clone
public Object clone()
- Overrides:
clone
in class Object
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.