1 21 22 package org.objectweb.jonas.webapp.jonasadmin.joramplatform; 23 24 import javax.servlet.http.HttpServletRequest ; 25 26 import org.apache.struts.action.ActionErrors; 27 import org.apache.struts.action.ActionForm; 28 import org.apache.struts.action.ActionMapping; 29 30 34 35 public final class JoramAdapterForm extends ActionForm { 36 37 42 private boolean collocatedServer; 43 47 private String configDir = null; 48 52 private String adminFile = null; 53 56 private boolean persistentServer; 57 60 private String serverIdTxt = null; 61 64 private String serverName = null; 65 private String version = null; 67 70 private String hostName = null; 71 74 private String serverPortTxt = null; 75 78 private String cnxPendingTimerTxt = null; 79 82 private String connectingTimerTxt = null; 83 86 private String txPendingTimerTxt = null; 87 88 90 public String getVersion() { 91 return version; 92 } 93 94 public void setVersion(String version) { 95 this.version = version; 96 } 97 98 101 public boolean isCollocatedServer() { 102 return collocatedServer; 103 } 104 105 108 public void setCollocatedServer(boolean collocatedServer) { 109 this.collocatedServer = collocatedServer; 110 } 111 112 115 public String getConfigDir() { 116 return configDir; 117 } 118 119 122 public void setConfigDir(String configDir) { 123 this.configDir = configDir; 124 } 125 126 129 public String getAdminFile() { 130 return adminFile; 131 } 132 133 136 public void setAdminFile(String adminFile) { 137 this.adminFile = adminFile; 138 } 139 140 143 public boolean isPersistentServer() { 144 return persistentServer; 145 } 146 147 150 public void setPersistentServer(boolean persistentServer) { 151 this.persistentServer = persistentServer; 152 } 153 154 157 public String getServerIdTxt() { 158 return serverIdTxt; 159 } 160 161 164 public void setServerIdTxt(String serverIdTxt) { 165 this.serverIdTxt = serverIdTxt; 166 } 167 168 171 public String getServerName() { 172 return serverName; 173 } 174 175 178 public void setServerName(String serverName) { 179 this.serverName = serverName; 180 } 181 182 185 public String getHostName() { 186 return hostName; 187 } 188 189 192 public void setHostName(String hostName) { 193 this.hostName = hostName; 194 } 195 196 199 public String getServerPortTxt() { 200 return serverPortTxt; 201 } 202 203 206 public void setServerPortTxt(String serverPortTxt) { 207 this.serverPortTxt = serverPortTxt; 208 } 209 210 213 public String getCnxPendingTimerTxt() { 214 return cnxPendingTimerTxt; 215 } 216 217 220 public void setCnxPendingTimerTxt(String cnxPendingTimerTxt) { 221 this.cnxPendingTimerTxt = cnxPendingTimerTxt; 222 } 223 224 227 public String getConnectingTimerTxt() { 228 return connectingTimerTxt; 229 } 230 231 234 public void setConnectingTimerTxt(String connectingTimerTxt) { 235 this.connectingTimerTxt = connectingTimerTxt; 236 } 237 238 241 public String getTxPendingTimerTxt() { 242 return txPendingTimerTxt; 243 } 244 245 248 public void setTxPendingTimerTxt(String txPendingTimerTxt) { 249 this.txPendingTimerTxt = txPendingTimerTxt; 250 } 251 252 254 260 public void reset(ActionMapping mapping, HttpServletRequest request) { 261 version = null; 262 } 263 264 274 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 275 return new ActionErrors(); 276 } 277 278 } 279 | Popular Tags |