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.ActionMapping; 32 33 37 38 public final class JonasServerForm extends BasicJonasServerForm { 39 40 42 45 private String jonasVersion = null; 46 47 50 private String jonasName = null; 51 52 55 private String protocols = null; 56 57 60 private String serverServletContainerInfo = null; 61 62 64 public String getJonasVersion() { 65 return jonasVersion; 66 } 67 68 public void setJonasVersion(String jonasVersion) { 69 this.jonasVersion = jonasVersion; 70 } 71 72 public String getJonasName() { 73 return jonasName; 74 } 75 76 public void setJonasName(String jonasName) { 77 this.jonasName = jonasName; 78 } 79 80 84 public String getProtocols() { 85 return protocols; 86 } 87 88 92 public void setProtocols(String protocols) { 93 this.protocols = protocols; 94 } 95 96 public String getServerServletContainerInfo() { 97 return serverServletContainerInfo; 98 } 99 100 public void setServerServletContainerInfo(String serverServletContainerInfo) { 101 this.serverServletContainerInfo = serverServletContainerInfo; 102 } 103 105 111 public void reset(ActionMapping mapping, HttpServletRequest request) { 112 113 jonasName = null; 114 jonasVersion = null; 115 protocols = null; 116 } 117 118 128 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 129 return new ActionErrors(); 130 } 131 132 } 133 | Popular Tags |