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) $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ModelMBeanNotificationInfo
TheModelMBeanNotificationInfo
object that corresponds to thisNotificationInfo
instance.protected String[]
(package private) static final long
Fields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNotifType
(String notifType) Add a new notification type to the set managed by an MBean.Create and return aModelMBeanNotificationInfo
object that corresponds to the attribute described by this instance.String[]
The set of notification types for this MBean.void
setDescription
(String description) Override thedescription
property setter.void
Override thename
property 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
TheModelMBeanNotificationInfo
object that corresponds to thisNotificationInfo
instance. -
notifTypes
-
-
Constructor Details
-
NotificationInfo
public NotificationInfo()
-
-
Method Details
-
setDescription
Override thedescription
property setter.- Overrides:
setDescription
in classFeatureInfo
- Parameters:
description
- The new description
-
setName
Override thename
property setter.- Overrides:
setName
in 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 aModelMBeanNotificationInfo
object that corresponds to the attribute described by this instance. -
toString
Return a string representation of this notification descriptor.
-