EjbContainersStatisticForm.java

00001 /*
00002  * JOnAS: Java(TM) Open Application Server
00003  * Copyright (C) 1999 Bull S.A.
00004  * Contact: jonas-team@objectweb.org
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00019  * USA
00020  *
00021  * Initial developer(s): Michel-Ange ANTON
00022  * --------------------------------------------------------------------------
00023  * $Id: EjbContainersStatisticForm.java,v 1.2 2003/06/20 17:15:42 antonma Exp $
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 // --------------------------------------------------------- Properties Variables
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 // --------------------------------------------------------- Public Methods
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 // --------------------------------------------------------- Properties Methods
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 }

Generated on Tue Feb 15 15:05:31 2005 for JOnAS by  doxygen 1.3.9.1