org.apache.commons.modeler
Class NotificationInfo

java.lang.Object
  extended byorg.apache.commons.modeler.FeatureInfo
      extended byorg.apache.commons.modeler.NotificationInfo
All Implemented Interfaces:
Serializable

public class NotificationInfo
extends FeatureInfo
implements Serializable

Internal configuration information for a Notification descriptor.

Version:
$Revision: 1.7 $ $Date: 2004/02/28 13:31:21 $
See Also:
Serialized Form

Field Summary
protected  String[] notifTypes
           
 
Fields inherited from class org.apache.commons.modeler.FeatureInfo
description, fields, name
 
Constructor Summary
NotificationInfo()
           
 
Method Summary
 void addNotifType(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.
 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.
 
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

notifTypes

protected String[] notifTypes
Constructor Detail

NotificationInfo

public NotificationInfo()
Method Detail

setDescription

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

Overrides:
setDescription in class FeatureInfo
Parameters:
description - The new description

setName

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

Overrides:
setName in class FeatureInfo
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 javax.management.modelmbean.ModelMBeanNotificationInfo createNotificationInfo()
Create and return a ModelMBeanNotificationInfo object that corresponds to the attribute described by this instance.


toString

public String toString()
Return a string representation of this notification descriptor.



Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.