ServletServerForm.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: ServletServerForm.java,v 1.3 2003/09/10 08:45:42 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 
00038 public final class ServletServerForm extends ActionForm {
00039 
00040 // ------------------------------------------------------------- Properties Variables
00041 
00042     private String serverName = null;
00043     private String serverVersion = null;
00044     private boolean serverCatalina = false;
00045     private String serverCatalinaService = null;
00046     private String serverCatalinaEngine = null;
00047     private String serverCatalinaDefaultHost = null;
00048     private String forwardAfter = null;
00049 
00050 // ------------------------------------------------------------- Public Methods
00051 
00058     public void reset(ActionMapping mapping, HttpServletRequest request) {
00059     }
00060 
00072     public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
00073         return new ActionErrors();
00074     }
00075 
00076 // ------------------------------------------------------------- Properties Methods
00077 
00078     public String getServerName() {
00079         return serverName;
00080     }
00081 
00082     public void setServerName(String serverName) {
00083         this.serverName = serverName;
00084     }
00085 
00086     public String getServerVersion() {
00087         return serverVersion;
00088     }
00089 
00090     public void setServerVersion(String serverVersion) {
00091         this.serverVersion = serverVersion;
00092     }
00093 
00094     public String getServerCatalinaService() {
00095         return serverCatalinaService;
00096     }
00097 
00098     public void setServerCatalinaService(String serverCatalinaService) {
00099         this.serverCatalinaService = serverCatalinaService;
00100     }
00101 
00102     public boolean isServerCatalina() {
00103         return serverCatalina;
00104     }
00105 
00106     public void setServerCatalina(boolean serverCatalina) {
00107         this.serverCatalina = serverCatalina;
00108     }
00109 
00110     public String getServerCatalinaEngine() {
00111         return serverCatalinaEngine;
00112     }
00113 
00114     public void setServerCatalinaEngine(String serverCatalinaEngine) {
00115         this.serverCatalinaEngine = serverCatalinaEngine;
00116     }
00117 
00118     public String getServerCatalinaDefaultHost() {
00119         return serverCatalinaDefaultHost;
00120     }
00121 
00122     public void setServerCatalinaDefaultHost(String serverCatalinaDefaultHost) {
00123         this.serverCatalinaDefaultHost = serverCatalinaDefaultHost;
00124     }
00125 
00126     public String getForwardAfter() {
00127         return forwardAfter;
00128     }
00129 
00130     public void setForwardAfter(String forwardAfter) {
00131         this.forwardAfter = forwardAfter;
00132     }
00133 
00134 }

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