1 26 27 package org.objectweb.jonas.webapp.jonasadmin.service.container; 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 EjbContainersStatisticForm extends ActionForm { 36 37 39 private int totalCurrentNumberOfCMPType = 0; 40 private int totalCurrentNumberOfSBFType = 0; 41 private int currentNumberOfContainer = 0; 42 private int totalCurrentNumberOfBMPType = 0; 43 private int totalCurrentNumberOfMDBType = 0; 44 private int totalCurrentNumberOfSBLType = 0; 45 private int totalCurrentNumberOfBeanType = 0; 46 47 49 55 56 public void reset(ActionMapping mapping, HttpServletRequest request) { 57 totalCurrentNumberOfCMPType = 0; 58 totalCurrentNumberOfSBFType = 0; 59 currentNumberOfContainer = 0; 60 totalCurrentNumberOfBMPType = 0; 61 totalCurrentNumberOfMDBType = 0; 62 totalCurrentNumberOfSBLType = 0; 63 totalCurrentNumberOfBeanType = 0; 64 } 65 66 76 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 77 ActionErrors oErrors = new ActionErrors(); 78 return oErrors; 79 } 80 81 83 public int getTotalCurrentNumberOfCMPType() { 84 return totalCurrentNumberOfCMPType; 85 } 86 87 public int getTotalCurrentNumberOfSBFType() { 88 return totalCurrentNumberOfSBFType; 89 } 90 91 public int getCurrentNumberOfContainer() { 92 return currentNumberOfContainer; 93 } 94 95 public int getTotalCurrentNumberOfBMPType() { 96 return totalCurrentNumberOfBMPType; 97 } 98 99 public int getTotalCurrentNumberOfMDBType() { 100 return totalCurrentNumberOfMDBType; 101 } 102 103 public int getTotalCurrentNumberOfSBLType() { 104 return totalCurrentNumberOfSBLType; 105 } 106 107 public int getTotalCurrentNumberOfBeanType() { 108 return totalCurrentNumberOfBeanType; 109 } 110 111 public void setTotalCurrentNumberOfCMPType(int totalCurrentNumberOfCMPType) { 112 this.totalCurrentNumberOfCMPType = totalCurrentNumberOfCMPType; 113 } 114 115 public void setTotalCurrentNumberOfSBFType(int totalCurrentNumberOfSBFType) { 116 this.totalCurrentNumberOfSBFType = totalCurrentNumberOfSBFType; 117 } 118 119 public void setCurrentNumberOfContainer(int currentNumberOfContainer) { 120 this.currentNumberOfContainer = currentNumberOfContainer; 121 } 122 123 public void setTotalCurrentNumberOfBMPType(int totalCurrentNumberOfBMPType) { 124 this.totalCurrentNumberOfBMPType = totalCurrentNumberOfBMPType; 125 } 126 127 public void setTotalCurrentNumberOfMDBType(int totalCurrentNumberOfMDBType) { 128 this.totalCurrentNumberOfMDBType = totalCurrentNumberOfMDBType; 129 } 130 131 public void setTotalCurrentNumberOfSBLType(int totalCurrentNumberOfSBLType) { 132 this.totalCurrentNumberOfSBLType = totalCurrentNumberOfSBLType; 133 } 134 135 public void setTotalCurrentNumberOfBeanType(int totalCurrentNumberOfBeanType) { 136 this.totalCurrentNumberOfBeanType = totalCurrentNumberOfBeanType; 137 } 138 } | Popular Tags |