00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 package org.objectweb.jonas.webapp.jonasadmin.service.container;
00028
00029 import javax.servlet.http.HttpServletRequest;
00030
00031 import org.apache.struts.action.ActionErrors;
00032 import org.apache.struts.action.ActionForm;
00033 import org.apache.struts.action.ActionMapping;
00034
00035 public class EjbContainersStatisticForm extends ActionForm {
00036
00037
00038
00039 private int totalCurrentNumberOfCMPType = 0;
00040 private int totalCurrentNumberOfSBFType = 0;
00041 private int currentNumberOfContainer = 0;
00042 private int totalCurrentNumberOfBMPType = 0;
00043 private int totalCurrentNumberOfMDBType = 0;
00044 private int totalCurrentNumberOfSBLType = 0;
00045 private int totalCurrentNumberOfBeanType = 0;
00046
00047
00048
00056 public void reset(ActionMapping mapping, HttpServletRequest request) {
00057 totalCurrentNumberOfCMPType = 0;
00058 totalCurrentNumberOfSBFType = 0;
00059 currentNumberOfContainer = 0;
00060 totalCurrentNumberOfBMPType = 0;
00061 totalCurrentNumberOfMDBType = 0;
00062 totalCurrentNumberOfSBLType = 0;
00063 totalCurrentNumberOfBeanType = 0;
00064 }
00065
00076 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
00077 ActionErrors oErrors = new ActionErrors();
00078 return oErrors;
00079 }
00080
00081
00082
00083 public int getTotalCurrentNumberOfCMPType() {
00084 return totalCurrentNumberOfCMPType;
00085 }
00086
00087 public int getTotalCurrentNumberOfSBFType() {
00088 return totalCurrentNumberOfSBFType;
00089 }
00090
00091 public int getCurrentNumberOfContainer() {
00092 return currentNumberOfContainer;
00093 }
00094
00095 public int getTotalCurrentNumberOfBMPType() {
00096 return totalCurrentNumberOfBMPType;
00097 }
00098
00099 public int getTotalCurrentNumberOfMDBType() {
00100 return totalCurrentNumberOfMDBType;
00101 }
00102
00103 public int getTotalCurrentNumberOfSBLType() {
00104 return totalCurrentNumberOfSBLType;
00105 }
00106
00107 public int getTotalCurrentNumberOfBeanType() {
00108 return totalCurrentNumberOfBeanType;
00109 }
00110
00111 public void setTotalCurrentNumberOfCMPType(int totalCurrentNumberOfCMPType) {
00112 this.totalCurrentNumberOfCMPType = totalCurrentNumberOfCMPType;
00113 }
00114
00115 public void setTotalCurrentNumberOfSBFType(int totalCurrentNumberOfSBFType) {
00116 this.totalCurrentNumberOfSBFType = totalCurrentNumberOfSBFType;
00117 }
00118
00119 public void setCurrentNumberOfContainer(int currentNumberOfContainer) {
00120 this.currentNumberOfContainer = currentNumberOfContainer;
00121 }
00122
00123 public void setTotalCurrentNumberOfBMPType(int totalCurrentNumberOfBMPType) {
00124 this.totalCurrentNumberOfBMPType = totalCurrentNumberOfBMPType;
00125 }
00126
00127 public void setTotalCurrentNumberOfMDBType(int totalCurrentNumberOfMDBType) {
00128 this.totalCurrentNumberOfMDBType = totalCurrentNumberOfMDBType;
00129 }
00130
00131 public void setTotalCurrentNumberOfSBLType(int totalCurrentNumberOfSBLType) {
00132 this.totalCurrentNumberOfSBLType = totalCurrentNumberOfSBLType;
00133 }
00134
00135 public void setTotalCurrentNumberOfBeanType(int totalCurrentNumberOfBeanType) {
00136 this.totalCurrentNumberOfBeanType = totalCurrentNumberOfBeanType;
00137 }
00138 }