|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.modeler.FeatureInfo org.apache.tomcat.util.modeler.NotificationInfo
public class NotificationInfo
Internal configuration information for a Notification
descriptor.
Field Summary | |
---|---|
protected String[] |
notifTypes
|
Fields inherited from class org.apache.tomcat.util.modeler.FeatureInfo |
---|
description, name, type |
Constructor Summary | |
---|---|
NotificationInfo()
|
Method Summary | |
---|---|
void |
addNotifType(String notifType)
Add a new notification type to the set managed by an MBean. |
MBeanNotificationInfo |
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.tomcat.util.modeler.FeatureInfo |
---|
getDescription, getName, getType, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String[] notifTypes
Constructor Detail |
---|
public NotificationInfo()
Method Detail |
---|
public void setDescription(String description)
description
property setter.
setDescription
in class FeatureInfo
description
- The new descriptionpublic void setName(String name)
name
property setter.
setName
in class FeatureInfo
name
- The new namepublic String[] getNotifTypes()
public void addNotifType(String notifType)
notifType
- The new notification typepublic MBeanNotificationInfo createNotificationInfo()
ModelMBeanNotificationInfo
object that
corresponds to the attribute described by this instance.
public String toString()
toString
in class Object
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |