public class NotificationInfo extends FeatureInfo implements java.io.Serializable
Internal configuration information for a Notification
descriptor.
Modifier and Type | Field and Description |
---|---|
(package private) javax.management.modelmbean.ModelMBeanNotificationInfo |
info
The
ModelMBeanNotificationInfo object that corresponds
to this NotificationInfo instance. |
protected java.lang.String[] |
notifTypes |
(package private) static long |
serialVersionUID |
description, fields, name
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.modelmbean.ModelMBeanNotificationInfo |
createNotificationInfo()
Create and return a
ModelMBeanNotificationInfo object 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
description property setter. |
void |
setName(java.lang.String name)
Override the
name property setter. |
java.lang.String |
toString()
Return a string representation of this notification descriptor.
|
addField, addFields, getDescription, getFields, getName
static final long serialVersionUID
transient javax.management.modelmbean.ModelMBeanNotificationInfo info
ModelMBeanNotificationInfo
object that corresponds
to this NotificationInfo
instance.protected java.lang.String[] notifTypes
public void setDescription(java.lang.String description)
description
property setter.setDescription
in class FeatureInfo
description
- The new descriptionpublic void setName(java.lang.String name)
name
property setter.setName
in class FeatureInfo
name
- The new namepublic java.lang.String[] getNotifTypes()
public void addNotifType(java.lang.String notifType)
notifType
- The new notification typepublic javax.management.modelmbean.ModelMBeanNotificationInfo createNotificationInfo()
ModelMBeanNotificationInfo
object that
corresponds to the attribute described by this instance.public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2001-2003 - Apache Software Foundation