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 JvmForm extends BasicJonasServerForm { 39 40 42 private String javaVersion = null; 43 private String javaVendor = null; 44 private String node = null; 45 46 48 public String getJavaVersion() { 49 return javaVersion; 50 } 51 52 public void setJavaVersion(String javaVersion) { 53 this.javaVersion = javaVersion; 54 } 55 56 public String getJavaVendor() { 57 return javaVendor; 58 } 59 60 public void setJavaVendor(String javaVendor) { 61 this.javaVendor = javaVendor; 62 } 63 64 public String getNode() { 65 return node; 66 } 67 68 public void setNode(String node) { 69 this.node = node; 70 } 71 73 79 public void reset(ActionMapping mapping, HttpServletRequest request) { 80 javaVersion = null; 81 javaVendor = null; 82 node = null; 83 } 84 85 95 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 96 return new ActionErrors(); 97 } 98 } 99 | Popular Tags |