1 23 package com.sun.appserv.management.config; 24 25 26 import java.util.Map ; 27 28 import com.sun.appserv.management.base.XTypes; 29 import com.sun.appserv.management.base.Container; 30 31 32 37 38 public interface ManagementRulesConfig 39 extends ConfigElement, Container, Enabled 40 { 41 42 public static final String J2EE_TYPE = XTypes.MANAGEMENT_RULES_CONFIG; 43 44 public Map <String ,ManagementRuleConfig> getManagementRuleConfigMap(); 45 46 47 public static final String RULE_DESCRIPTION_KEY = "Description"; 48 49 50 public static final String RULE_ENABLED_KEY = "Enabled"; 51 52 53 public static final String EVENT_LOG_ENABLED_KEY = "EventLogEnabled"; 54 55 56 public static final String EVENT_LEVEL_KEY = "EventLevel"; 57 58 59 public static final String EVENT_PROPERTIES_KEY = "EventProperties"; 60 61 62 public static final String EVENT_DESCRIPTION_KEY = "EventDescription"; 63 64 85 public ManagementRuleConfig createManagementRuleConfig( 86 String ruleName, 87 String eventType, 88 String actionMBeanName, 89 Map <String ,String > optional ); 90 91 public void removeManagementRuleConfig( String name ); 92 } 93 94 95 96 97 98 99 100 101 102 103 104 105 | Popular Tags |