Package org.apache.commons.modeler
Class NotificationInfo
- java.lang.Object
-
- org.apache.commons.modeler.FeatureInfo
-
- org.apache.commons.modeler.NotificationInfo
-
- All Implemented Interfaces:
Serializable
public class NotificationInfo extends FeatureInfo implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]
notifTypes
-
Fields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name
-
-
Constructor Summary
Constructors Constructor Description NotificationInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNotifType(String notifType)
Add a new notification type to the set managed by an MBean.ModelMBeanNotificationInfo
createNotificationInfo()
Create and return aModelMBeanNotificationInfo
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 thedescription
property setter.void
setName(String name)
Override thename
property setter.String
toString()
Return a string representation of this notification descriptor.-
Methods inherited from class org.apache.commons.modeler.FeatureInfo
addField, addFields, getDescription, getFields, getName
-
-
-
-
Field Detail
-
notifTypes
protected String[] notifTypes
-
-
Method Detail
-
setDescription
public void setDescription(String description)
Override thedescription
property setter.- Overrides:
setDescription
in classFeatureInfo
- Parameters:
description
- The new description
-
setName
public void setName(String name)
Override thename
property setter.- Overrides:
setName
in classFeatureInfo
- Parameters:
name
- The new name
-
getNotifTypes
public String[] getNotifTypes()
The set of notification types for this MBean.
-
addNotifType
public void addNotifType(String notifType)
Add a new notification type to the set managed by an MBean.- Parameters:
notifType
- The new notification type
-
createNotificationInfo
public ModelMBeanNotificationInfo createNotificationInfo()
Create and return aModelMBeanNotificationInfo
object that corresponds to the attribute described by this instance.
-
-