Class ManagedNotification
- java.lang.Object
- org.springframework.jmx.export.metadata.ManagedNotification
public class ManagedNotification extends Object
Metadata that indicates a JMX notification emitted by a bean.- Since:
- 2.0
- Author:
- Rob Harrop
Constructor Summary
Constructors Constructor Description ManagedNotification()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return a description for this notification.StringgetName()Return the name of this notification.String[]getNotificationTypes()Return the list of notification types.voidsetDescription(String description)Set a description for this notification.voidsetName(String name)Set the name of this notification.voidsetNotificationType(String notificationType)Set a single notification type, or a list of notification types as comma-delimited String.voidsetNotificationTypes(String... notificationTypes)Set a list of notification types.
Constructor Detail
ManagedNotification
public ManagedNotification()
Method Detail
setNotificationType
public void setNotificationType(String notificationType)
Set a single notification type, or a list of notification types as comma-delimited String.
setNotificationTypes
public void setNotificationTypes(String... notificationTypes)
Set a list of notification types.
getNotificationTypes
public String[] getNotificationTypes()
Return the list of notification types.
setDescription
public void setDescription(String description)
Set a description for this notification.
getDescription
public String getDescription()
Return a description for this notification.