00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
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 JvmForm extends ActionForm {
00039
00040
00041
00042 private String javaVersion = null;
00043 private String javaVendor = null;
00044 private String node = null;
00045
00046
00047
00048 public String getJavaVersion() {
00049 return javaVersion;
00050 }
00051
00052 public void setJavaVersion(String javaVersion) {
00053 this.javaVersion = javaVersion;
00054 }
00055
00056 public String getJavaVendor() {
00057 return javaVendor;
00058 }
00059
00060 public void setJavaVendor(String javaVendor) {
00061 this.javaVendor = javaVendor;
00062 }
00063
00064 public String getNode() {
00065 return node;
00066 }
00067
00068 public void setNode(String node) {
00069 this.node = node;
00070 }
00071
00072
00079 public void reset(ActionMapping mapping, HttpServletRequest request) {
00080 javaVersion = null;
00081 javaVendor = null;
00082 node = null;
00083 }
00084
00095 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
00096 return new ActionErrors();
00097 }
00098 }