1 23 package com.sun.enterprise.admin.event; 24 25 import java.util.List ; 26 import java.util.ArrayList ; 27 import com.sun.enterprise.config.ConfigContext; 28 29 35 public class EventStack { 36 37 41 public List getConfigChangeList() { 42 return _configChangeList; 43 } 44 45 49 public void setConfigChangeList(List list) { 50 _configChangeList = list; 51 } 52 53 57 public String getTarget() { 58 return _target; 59 } 60 61 65 public void setTarget(String target) { 66 _target = target; 67 } 68 69 public String getXPath() { 70 return _xPath; 71 } 72 73 public void setXPath(String xPath) { 74 _xPath = xPath; 75 } 76 77 81 public List getEvents() { 82 return _events; 83 } 84 85 89 public void addEvent(AdminEvent event) { 90 _events.add(event); 91 } 92 93 97 public ConfigContext getConfigContext() { 98 return _ctx; 99 } 100 101 105 public void setConfigContext(ConfigContext ctx) { 106 _ctx = ctx; 107 } 108 109 112 public void resetEvents() { 113 _events.clear(); 114 } 115 116 private List _configChangeList = new ArrayList (); 118 private String _target = null; 119 private String _xPath = null; 120 private List _events = new ArrayList (); 121 private ConfigContext _ctx = null; 122 } 123 | Popular Tags |