1 16 17 package org.springframework.jmx.export.metadata; 18 19 import org.springframework.util.StringUtils; 20 21 27 public class ManagedNotification { 28 29 private String [] notificationTypes; 30 31 private String name; 32 33 private String description; 34 35 36 40 public void setNotificationType(String notificationType) { 41 this.notificationTypes = StringUtils.commaDelimitedListToStringArray(notificationType); 42 } 43 44 public void setNotificationTypes(String [] notificationTypes) { 45 this.notificationTypes = notificationTypes; 46 } 47 48 public String [] getNotificationTypes() { 49 return notificationTypes; 50 } 51 52 public void setName(String name) { 53 this.name = name; 54 } 55 56 public String getName() { 57 return name; 58 } 59 60 public void setDescription(String description) { 61 this.description = description; 62 } 63 64 public String getDescription() { 65 return description; 66 } 67 68 } 69 | Popular Tags |