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