org.apache.commons.modeler

Class NotificationInfo

public class NotificationInfo extends FeatureInfo implements Serializable

Internal configuration information for a Notification descriptor.

Version: $Revision: 155428 $ $Date: 2005-02-26 08:12:25 -0500 (Sat, 26 Feb 2005) $

Author: Craig R. McClanahan

Field Summary
ModelMBeanNotificationInfoinfo
The ModelMBeanNotificationInfo object that corresponds to this NotificationInfo instance.
protected String[]notifTypes
static longserialVersionUID
Method Summary
voidaddNotifType(String notifType)
Add a new notification type to the set managed by an MBean.
ModelMBeanNotificationInfocreateNotificationInfo()
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.
voidsetDescription(String description)
Override the description property setter.
voidsetName(String name)
Override the name property setter.
StringtoString()
Return a string representation of this notification descriptor.

Field Detail

info

transient ModelMBeanNotificationInfo info
The ModelMBeanNotificationInfo object that corresponds to this NotificationInfo instance.

notifTypes

protected String[] notifTypes

serialVersionUID

static final long serialVersionUID

Method Detail

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 a ModelMBeanNotificationInfo object that corresponds to the attribute described by this instance.

getNotifTypes

public String[] getNotifTypes()
The set of notification types for this MBean.

setDescription

public void setDescription(String description)
Override the description property setter.

Parameters: description The new description

setName

public void setName(String name)
Override the name property setter.

Parameters: name The new name

toString

public String toString()
Return a string representation of this notification descriptor.
Copyright (c) 2001-2003 - Apache Software Foundation