javax.management
Class MBeanNotificationInfo

java.lang.Object
  extended byjavax.management.MBeanFeatureInfo (src) 
      extended byjavax.management.MBeanNotificationInfo
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Direct Known Subclasses:
ModelMBeanNotificationInfo (src)

public class MBeanNotificationInfo
extends MBeanFeatureInfo (src)
implements java.lang.Cloneable, java.io.Serializable

Describes a notification emitted by an MBean 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:
Serialized Form

Field Summary
 
Fields inherited from class javax.management.MBeanFeatureInfo (src)
description, name
 
Constructor Summary
MBeanNotificationInfo(java.lang.String[] notifsType, java.lang.String name, java.lang.String description)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object object)
           
 java.lang.String[] getNotifTypes()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class javax.management.MBeanFeatureInfo (src)
getDescription, getName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBeanNotificationInfo

public MBeanNotificationInfo(java.lang.String[] notifsType,
                             java.lang.String name,
                             java.lang.String description)
                      throws java.lang.IllegalArgumentException
Method Detail

getNotifTypes

public java.lang.String[] getNotifTypes()

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class MBeanFeatureInfo (src)

hashCode

public int hashCode()
Overrides:
hashCode in class MBeanFeatureInfo (src)

toString

public java.lang.String toString()
Overrides:
toString in class MBeanFeatureInfo (src)
Returns:
a human readable string

clone

public java.lang.Object clone()