Package org.apache.commons.modeler
Class NotificationInfo
java.lang.Object
org.apache.commons.modeler.FeatureInfo
org.apache.commons.modeler.NotificationInfo
- All Implemented Interfaces:
Serializable
Internal configuration information for a Notification
descriptor.
- Version:
- $Revision: 480402 $ $Date: 2006-11-29 04:43:23 +0000 (Wed, 29 Nov 2006) $
- Author:
- Craig R. McClanahan
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ModelMBeanNotificationInfoTheModelMBeanNotificationInfoobject that corresponds to thisNotificationInfoinstance.protected String[](package private) static final longFields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNotifType(String notifType) Add a new notification type to the set managed by an MBean.Create and return aModelMBeanNotificationInfoobject that corresponds to the attribute described by this instance.String[]The set of notification types for this MBean.voidsetDescription(String description) Override thedescriptionproperty setter.voidOverride thenameproperty setter.toString()Return a string representation of this notification descriptor.Methods inherited from class org.apache.commons.modeler.FeatureInfo
addField, addFields, getDescription, getFields, getName
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
info
TheModelMBeanNotificationInfoobject that corresponds to thisNotificationInfoinstance. -
notifTypes
-
-
Constructor Details
-
NotificationInfo
public NotificationInfo()
-
-
Method Details
-
setDescription
Override thedescriptionproperty setter.- Overrides:
setDescriptionin classFeatureInfo- Parameters:
description- The new description
-
setName
Override thenameproperty setter.- Overrides:
setNamein classFeatureInfo- Parameters:
name- The new name
-
getNotifTypes
The set of notification types for this MBean. -
addNotifType
Add a new notification type to the set managed by an MBean.- Parameters:
notifType- The new notification type
-
createNotificationInfo
Create and return aModelMBeanNotificationInfoobject that corresponds to the attribute described by this instance. -
toString
Return a string representation of this notification descriptor.
-