JonasServerForm.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  * --------------------------------------------------------------------------
00022  * $Id: JonasServerForm.java,v 1.4 2003/08/14 15:52:06 antonma Exp $
00023  * --------------------------------------------------------------------------
00024  */
00025 
00026 package org.objectweb.jonas.webapp.jonasadmin.jonasserver;
00027 
00028 import javax.servlet.http.HttpServletRequest;
00029 
00030 import org.apache.struts.action.ActionErrors;
00031 import org.apache.struts.action.ActionForm;
00032 import org.apache.struts.action.ActionMapping;
00033 
00039 public final class JonasServerForm extends ActionForm {
00040 
00041 // ------------------------------------------------------------- Properties Variables
00042 
00046     private String jonasVersion = null;
00047 
00051     private String jonasName = null;
00052 
00056     private String protocols = null;
00057 
00061     private String serverServletContainerInfo = null;
00062 
00063 
00064 // ------------------------------------------------------------- Properties Methods
00065 
00066     public String getJonasVersion() {
00067         return jonasVersion;
00068     }
00069 
00070     public void setJonasVersion(String jonasVersion) {
00071         this.jonasVersion = jonasVersion;
00072     }
00073 
00074     public String getJonasName() {
00075         return jonasName;
00076     }
00077 
00078     public void setJonasName(String jonasName) {
00079         this.jonasName = jonasName;
00080     }
00081 
00086     public String getProtocols() {
00087         return protocols;
00088     }
00089 
00094     public void setProtocols(String protocols) {
00095         this.protocols = protocols;
00096     }
00097 
00098     public String getServerServletContainerInfo() {
00099         return serverServletContainerInfo;
00100     }
00101 
00102     public void setServerServletContainerInfo(String serverServletContainerInfo) {
00103         this.serverServletContainerInfo = serverServletContainerInfo;
00104     }
00105 
00106 // ------------------------------------------------------------- Public Methods
00107 
00114     public void reset(ActionMapping mapping, HttpServletRequest request) {
00115 
00116         jonasName = null;
00117         jonasVersion = null;
00118         protocols = null;
00119     }
00120 
00131     public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
00132         return new ActionErrors();
00133     }
00134 
00135 }

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