Package org.apache.tomcat.util.modeler
Class NotificationInfo
java.lang.Object
org.apache.tomcat.util.modeler.FeatureInfo
org.apache.tomcat.util.modeler.NotificationInfo
- All Implemented Interfaces:
- Serializable
Internal configuration information for a Notification
 descriptor.
- Author:
- Craig R. McClanahan
- See Also:
- 
Field SummaryFieldsFields inherited from class org.apache.tomcat.util.modeler.FeatureInfodescription, name, type
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddNotifType(String notifType) Add a new notification type to the set managed by an MBean.Create and return aModelMBeanNotificationInfoobject that corresponds to the attribute described by this instance.String[]voidsetDescription(String description) Override thedescriptionproperty setter.voidOverride thenameproperty setter.toString()Return a string representation of this notification descriptor.Methods inherited from class org.apache.tomcat.util.modeler.FeatureInfogetDescription, getName, getType, setType
- 
Field Details- 
notifTypes
- 
notifTypesLock
 
- 
- 
Constructor Details- 
NotificationInfopublic NotificationInfo()
 
- 
- 
Method Details- 
setDescriptionOverride thedescriptionproperty setter.- Overrides:
- setDescriptionin class- FeatureInfo
- Parameters:
- description- The new description
 
- 
setNameOverride thenameproperty setter.- Overrides:
- setNamein class- FeatureInfo
- Parameters:
- name- The new name
 
- 
getNotifTypes- Returns:
- the set of notification types for this MBean.
 
- 
addNotifTypeAdd a new notification type to the set managed by an MBean.- Parameters:
- notifType- The new notification type
 
- 
createNotificationInfoCreate and return aModelMBeanNotificationInfoobject that corresponds to the attribute described by this instance.- Returns:
- the notification info
 
- 
toStringReturn a string representation of this notification descriptor.
 
-