1 26 27 package org.objectweb.jonas.webapp.jonasadmin.monitoring; 28 29 import javax.servlet.http.HttpServletRequest ; 30 31 import org.apache.struts.action.ActionErrors; 32 import org.apache.struts.action.ActionForm; 33 import org.apache.struts.action.ActionMapping; 34 35 public class MonitoringForm extends ActionForm { 36 37 39 private boolean activated = false; 40 private int allThreadsCount = 0; 41 42 44 50 public void reset(ActionMapping mapping, HttpServletRequest request) { 51 activated = false; 52 } 53 54 64 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 65 return new ActionErrors(); 66 } 67 68 public boolean isActivated() { 69 return activated; 70 } 71 72 public void setActivated(boolean activated) { 73 this.activated = activated; 74 } 75 76 public int getAllThreadsCount() { 77 return allThreadsCount; 78 } 79 80 public void setAllThreadsCount(int allThreadsCount) { 81 this.allThreadsCount = allThreadsCount; 82 } 83 84 } | Popular Tags |