|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.modeler.FeatureInfo | +--org.apache.commons.modeler.NotificationInfo
Internal configuration information for a Notification
descriptor.
Field Summary | |
(package private) ModelMBeanNotificationInfo |
info
The ModelMBeanNotificationInfo object that corresponds
to this NotificationInfo instance. |
protected java.lang.String[] |
notifTypes
|
(package private) static long |
serialVersionUID
|
Fields inherited from class org.apache.commons.modeler.FeatureInfo |
description, fields, name |
Constructor Summary | |
NotificationInfo()
|
Method Summary | |
void |
addNotifType(java.lang.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. |
java.lang.String[] |
getNotifTypes()
The set of notification types for this MBean. |
void |
setDescription(java.lang.String description)
Override the description property setter. |
void |
setName(java.lang.String name)
Override the name property setter. |
java.lang.String |
toString()
Return a string representation of this notification descriptor. |
Methods inherited from class org.apache.commons.modeler.FeatureInfo |
addField, addFields, getDescription, getFields, getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final long serialVersionUID
transient ModelMBeanNotificationInfo info
ModelMBeanNotificationInfo
object that corresponds
to this NotificationInfo
instance.
protected java.lang.String[] notifTypes
Constructor Detail |
public NotificationInfo()
Method Detail |
public void setDescription(java.lang.String description)
description
property setter.
setDescription
in class FeatureInfo
description
- The new descriptionpublic void setName(java.lang.String name)
name
property setter.
setName
in class FeatureInfo
name
- The new namepublic java.lang.String[] getNotifTypes()
public void addNotifType(java.lang.String notifType)
notifType
- The new notification typepublic ModelMBeanNotificationInfo createNotificationInfo()
ModelMBeanNotificationInfo
object that
corresponds to the attribute described by this instance.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |