org.springframework.jmx.export.metadata
Class ManagedNotification

java.lang.Object
  extended by org.springframework.jmx.export.metadata.ManagedNotification

public class ManagedNotification
extends java.lang.Object

Metadata that indicates a JMX notification emitted by a bean.

Since:
2.0
Author:
Rob Harrop

Field Summary
private  java.lang.String description
           
private  java.lang.String name
           
private  java.lang.String[] notificationTypes
           
 
Constructor Summary
ManagedNotification()
           
 
Method Summary
 java.lang.String getDescription()
          Return a description for this notification.
 java.lang.String getName()
          Return the name of this notification.
 java.lang.String[] getNotificationTypes()
          Return the list of notification types.
 void setDescription(java.lang.String description)
          Set a description for this notification.
 void setName(java.lang.String name)
          Set the name of this notification.
 void setNotificationType(java.lang.String notificationType)
          Set a single notification type, or a list of notification types as comma-delimited String.
 void setNotificationTypes(java.lang.String[] notificationTypes)
          Set a list of notification types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notificationTypes

private java.lang.String[] notificationTypes

name

private java.lang.String name

description

private java.lang.String description
Constructor Detail

ManagedNotification

public ManagedNotification()
Method Detail

setNotificationType

public void setNotificationType(java.lang.String notificationType)
Set a single notification type, or a list of notification types as comma-delimited String.


setNotificationTypes

public void setNotificationTypes(java.lang.String[] notificationTypes)
Set a list of notification types.


getNotificationTypes

public java.lang.String[] getNotificationTypes()
Return the list of notification types.


setName

public void setName(java.lang.String name)
Set the name of this notification.


getName

public java.lang.String getName()
Return the name of this notification.


setDescription

public void setDescription(java.lang.String description)
Set a description for this notification.


getDescription

public java.lang.String getDescription()
Return a description for this notification.