1 25 26 package org.objectweb.jonas.webapp.jonasadmin.jonasserver; 27 28 import javax.servlet.http.HttpServletRequest ; 29 30 import org.apache.struts.action.ActionErrors; 31 import org.apache.struts.action.ActionForm; 32 import org.apache.struts.action.ActionMapping; 33 34 37 38 public final class ServletServerForm extends ActionForm { 39 40 42 private String serverName = null; 43 private String serverVersion = null; 44 private boolean serverCatalina = false; 45 private String serverCatalinaService = null; 46 private String serverCatalinaEngine = null; 47 private String serverCatalinaDefaultHost = null; 48 private String forwardAfter = null; 49 50 52 58 public void reset(ActionMapping mapping, HttpServletRequest request) { 59 } 60 61 72 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 73 return new ActionErrors(); 74 } 75 76 78 public String getServerName() { 79 return serverName; 80 } 81 82 public void setServerName(String serverName) { 83 this.serverName = serverName; 84 } 85 86 public String getServerVersion() { 87 return serverVersion; 88 } 89 90 public void setServerVersion(String serverVersion) { 91 this.serverVersion = serverVersion; 92 } 93 94 public String getServerCatalinaService() { 95 return serverCatalinaService; 96 } 97 98 public void setServerCatalinaService(String serverCatalinaService) { 99 this.serverCatalinaService = serverCatalinaService; 100 } 101 102 public boolean isServerCatalina() { 103 return serverCatalina; 104 } 105 106 public void setServerCatalina(boolean serverCatalina) { 107 this.serverCatalina = serverCatalina; 108 } 109 110 public String getServerCatalinaEngine() { 111 return serverCatalinaEngine; 112 } 113 114 public void setServerCatalinaEngine(String serverCatalinaEngine) { 115 this.serverCatalinaEngine = serverCatalinaEngine; 116 } 117 118 public String getServerCatalinaDefaultHost() { 119 return serverCatalinaDefaultHost; 120 } 121 122 public void setServerCatalinaDefaultHost(String serverCatalinaDefaultHost) { 123 this.serverCatalinaDefaultHost = serverCatalinaDefaultHost; 124 } 125 126 public String getForwardAfter() { 127 return forwardAfter; 128 } 129 130 public void setForwardAfter(String forwardAfter) { 131 this.forwardAfter = forwardAfter; 132 } 133 134 } 135 | Popular Tags |