1 23 package com.sun.enterprise.admin.event; 24 25 30 public class MonitoringLevelChangeEvent extends AdminEvent { 31 32 35 static final String eventType = MonitoringLevelChangeEvent.class.getName(); 36 37 40 private String componentName; 41 42 45 private String oldMonitoringLevel; 46 47 50 private String newMonitoringLevel; 51 52 56 public MonitoringLevelChangeEvent(String instanceName) { 57 this(eventType, instanceName); 58 } 59 60 65 protected MonitoringLevelChangeEvent(String eventType, String instanceName) { 66 super(eventType, instanceName); 67 } 68 69 73 public String getComponentName() { 74 return componentName; 75 } 76 77 81 void setComponentName(String componentName) { 82 this.componentName = componentName; 83 } 84 85 90 public String getOldMonitoringLevel() { 91 return oldMonitoringLevel; 92 } 93 94 97 void setOldMonitoringLevel(String oldLevel) { 98 oldMonitoringLevel = oldLevel; 99 } 100 101 106 public String getNewMonitoringLevel() { 107 return newMonitoringLevel; 108 } 109 110 113 void setNewMonitoringLevel(String newLevel) { 114 this.newMonitoringLevel = newLevel; 115 } 116 117 } 118 | Popular Tags |