类 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.- 从以下版本开始:
- 2.0
- 作者:
- Rob Harrop
构造器概要
构造器 构造器 说明 ManagedNotification()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getDescription()
Return a description for this notification.String
getName()
Return the name of this notification.String[]
getNotificationTypes()
Return the list of notification types.void
setDescription(String description)
Set a description for this notification.void
setName(String name)
Set the name of this notification.void
setNotificationType(String notificationType)
Set a single notification type, or a list of notification types as comma-delimited String.void
setNotificationTypes(String... notificationTypes)
Set a list of notification types.
构造器详细资料
ManagedNotification
public ManagedNotification()
方法详细资料
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.