org.apache.commons.modeler
Class NotificationInfo
- Serializable
public class NotificationInfo
implements Serializable
Internal configuration information for a Notification
descriptor.
Version:
- Craig R. McClanahan
(package private) ModelMBeanNotificationInfo | info- The
ModelMBeanNotificationInfo object that corresponds
to this NotificationInfo instance.
|
protected String[] | notifTypes
|
(package private) static long | serialVersionUID
|
void | addNotifType(String notifType)- Add a new notification type to the set managed by an MBean.
|
ModelMBeanNotificationInfo | 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.
|
info
(package private) ModelMBeanNotificationInfo info
The ModelMBeanNotificationInfo object that corresponds
to this NotificationInfo instance.
notifTypes
protected String[] notifTypes
serialVersionUID
(package private) static final long serialVersionUID
- -6319885418912650856L
addNotifType
public void addNotifType(String notifType)
Add a new notification type to the set managed by an MBean.
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.
- setDescription in interface FeatureInfo
description - The new description
setName
public void setName(String name)
Override the name property setter.
- setName in interface FeatureInfo
name - The new name
toString
public String toString()
Return a string representation of this notification descriptor.
Copyright (c) 2001-2003 - Apache Software Foundation