public class NotificationInfo extends FeatureInfo
Internal configuration information for a Notification
descriptor.
| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.String[] | notifTypes | 
description, name, type| Constructor and Description | 
|---|
| NotificationInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addNotifType(java.lang.String notifType)Add a new notification type to the set managed by an MBean. | 
| javax.management.MBeanNotificationInfo | createNotificationInfo()Create and return a  ModelMBeanNotificationInfoobject that
corresponds to the attribute described by this instance. | 
| java.lang.String[] | getNotifTypes()The set of notification types for this MBean. | 
| void | setDescription(java.lang.String description)Override the  descriptionproperty setter. | 
| void | setName(java.lang.String name)Override the  nameproperty setter. | 
| java.lang.String | toString()Return a string representation of this notification descriptor. | 
getDescription, getName, getType, setTypepublic void setDescription(java.lang.String description)
description property setter.setDescription in class FeatureInfodescription - The new descriptionpublic void setName(java.lang.String name)
name property setter.setName in class FeatureInfoname - The new namepublic java.lang.String[] getNotifTypes()
public void addNotifType(java.lang.String notifType)
notifType - The new notification typepublic javax.management.MBeanNotificationInfo createNotificationInfo()
ModelMBeanNotificationInfo object that
corresponds to the attribute described by this instance.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.