org.apache.commons.modeler

Class NotificationInfo

Implemented Interfaces:
Serializable

public class NotificationInfo
extends FeatureInfo
implements Serializable

Internal configuration information for a Notification descriptor.
Version:
$Revision: 1.5 $ $Date: 2003/07/20 07:35:13 $
Author:
Craig R. McClanahan

Field Summary

(package private) ModelMBeanNotificationInfo
info
The ModelMBeanNotificationInfo object that corresponds to this NotificationInfo instance.
protected String[]
notifTypes
(package private) static long
serialVersionUID

Fields inherited from class org.apache.commons.modeler.FeatureInfo

description, fields, name, serialVersionUID

Method Summary

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.

Methods inherited from class org.apache.commons.modeler.FeatureInfo

addField, addFields, getDescription, getFields, getName, setDescription, setName

Field Details

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
Field Value:
-6319885418912650856L

Method Details

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.
Overrides:
setDescription in interface FeatureInfo
Parameters:
description - The new description

setName

public void setName(String name)
Override the name property setter.
Overrides:
setName in interface FeatureInfo
Parameters:
name - The new name

toString

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

Copyright (c) 2001-2003 - Apache Software Foundation