JmxServerForm.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: JmxServerForm.java,v 1.3 2003/06/20 17:15:40 antonma Exp $
00024  * --------------------------------------------------------------------------
00025  */
00026 
00027 package org.objectweb.jonas.webapp.jonasadmin.jonasserver;
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 
00039 public final class JmxServerForm extends ActionForm {
00040 
00041 // ------------------------------------------------------------- Properties Variables
00042 
00043     private String mBeanServerId = null;
00044     private String specificationName = null;
00045     private String specificationVersion = null;
00046     private String specificationVendor = null;
00047     private String implementationName = null;
00048     private String implementationVersion = null;
00049     private String implementationVendor = null;
00050 
00051 // ------------------------------------------------------------- Properties Methods
00052 
00053     public String getSpecificationVersion() {
00054         return specificationVersion;
00055     }
00056 
00057     public void setSpecificationVersion(String specificationVersion) {
00058         this.specificationVersion = specificationVersion;
00059     }
00060 
00061     public String getMBeanServerId() {
00062         return mBeanServerId;
00063     }
00064 
00065     public void setMBeanServerId(String mBeanServerId) {
00066         this.mBeanServerId = mBeanServerId;
00067     }
00068 
00069     public String getSpecificationName() {
00070         return specificationName;
00071     }
00072 
00073     public void setSpecificationName(String specificationName) {
00074         this.specificationName = specificationName;
00075     }
00076 
00077     public String getSpecificationVendor() {
00078         return specificationVendor;
00079     }
00080 
00081     public void setSpecificationVendor(String specificationVendor) {
00082         this.specificationVendor = specificationVendor;
00083     }
00084 
00085     public String getImplementationName() {
00086         return implementationName;
00087     }
00088 
00089     public void setImplementationName(String implementationName) {
00090         this.implementationName = implementationName;
00091     }
00092 
00093     public String getImplementationVersion() {
00094         return implementationVersion;
00095     }
00096 
00097     public void setImplementationVersion(String implementationVersion) {
00098         this.implementationVersion = implementationVersion;
00099     }
00100 
00101     public String getImplementationVendor() {
00102         return implementationVendor;
00103     }
00104 
00105     public void setImplementationVendor(String implementationVendor) {
00106         this.implementationVendor = implementationVendor;
00107     }
00108 
00109 // --------------------------------------------------------- Public Methods
00110 
00117     public void reset(ActionMapping mapping, HttpServletRequest request) {
00118         mBeanServerId = null;
00119         specificationName = null;
00120         specificationVersion = null;
00121         specificationVendor = null;
00122         implementationName = null;
00123         implementationVersion = null;
00124         implementationVendor = null;
00125     }
00126 
00137     public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
00138         return new ActionErrors();
00139     }
00140 }

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