org.apache.commons.modeler
Class NotificationInfo
java.lang.Object
|
+--org.apache.commons.modeler.FeatureInfo
|
+--org.apache.commons.modeler.NotificationInfo
- public class NotificationInfo
- extends FeatureInfo
Internal configuration information for a Notification
descriptor.
- Version:
- $Revision: 1.1.1.1 $ $Date: 2002/04/30 20:58:51 $
- Author:
- Craig R. McClanahan
Field Summary |
(package private) javax.management.modelmbean.ModelMBeanNotificationInfo |
info
The ModelMBeanNotificationInfo object that corresponds
to this NotificationInfo instance. |
protected java.lang.String[] |
notifTypes
The set of notification types for this MBean. |
Method Summary |
void |
addNotifType(java.lang.String notifType)
Add a new notification type to the set managed by an MBean. |
javax.management.modelmbean.ModelMBeanNotificationInfo |
createNotificationInfo()
Create and return a ModelMBeanNotificationInfo object that
corresponds to the attribute described by this instance. |
java.lang.String[] |
getNotifTypes()
|
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 java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
info
javax.management.modelmbean.ModelMBeanNotificationInfo info
- The
ModelMBeanNotificationInfo
object that corresponds
to this NotificationInfo
instance.
notifTypes
protected java.lang.String[] notifTypes
- The set of notification types for this MBean.
NotificationInfo
public NotificationInfo()
setDescription
public void setDescription(java.lang.String description)
- Override the
description
property setter.
- Overrides:
setDescription
in class FeatureInfo
- Parameters:
description
- The new description
setName
public void setName(java.lang.String name)
- Override the
name
property setter.
- Overrides:
setName
in class FeatureInfo
- Parameters:
name
- The new name
getNotifTypes
public java.lang.String[] getNotifTypes()
addNotifType
public void addNotifType(java.lang.String notifType)
- Add a new notification type to the set managed by an MBean.
- Parameters:
notifType
- The new notification type
createNotificationInfo
public javax.management.modelmbean.ModelMBeanNotificationInfo createNotificationInfo()
- Create and return a
ModelMBeanNotificationInfo
object that
corresponds to the attribute described by this instance.
toString
public java.lang.String toString()
- Return a string representation of this notification descriptor.
- Overrides:
toString
in class java.lang.Object
Copyright (c) 2001-2002 - Apache Software Foundation