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
00027 package org.objectweb.jonas.webapp.jonasadmin.jonasserver;
00028
00029 import javax.servlet.http.HttpServletRequest;
00030
00031 import org.apache.struts.action.ActionErrors;
00032 import org.apache.struts.action.ActionForm;
00033 import org.apache.struts.action.ActionMapping;
00034
00039 public final class JmxServerForm extends ActionForm {
00040
00041
00042
00043 private String mBeanServerId = null;
00044 private String specificationName = null;
00045 private String specificationVersion = null;
00046 private String specificationVendor = null;
00047 private String implementationName = null;
00048 private String implementationVersion = null;
00049 private String implementationVendor = null;
00050
00051
00052
00053 public String getSpecificationVersion() {
00054 return specificationVersion;
00055 }
00056
00057 public void setSpecificationVersion(String specificationVersion) {
00058 this.specificationVersion = specificationVersion;
00059 }
00060
00061 public String getMBeanServerId() {
00062 return mBeanServerId;
00063 }
00064
00065 public void setMBeanServerId(String mBeanServerId) {
00066 this.mBeanServerId = mBeanServerId;
00067 }
00068
00069 public String getSpecificationName() {
00070 return specificationName;
00071 }
00072
00073 public void setSpecificationName(String specificationName) {
00074 this.specificationName = specificationName;
00075 }
00076
00077 public String getSpecificationVendor() {
00078 return specificationVendor;
00079 }
00080
00081 public void setSpecificationVendor(String specificationVendor) {
00082 this.specificationVendor = specificationVendor;
00083 }
00084
00085 public String getImplementationName() {
00086 return implementationName;
00087 }
00088
00089 public void setImplementationName(String implementationName) {
00090 this.implementationName = implementationName;
00091 }
00092
00093 public String getImplementationVersion() {
00094 return implementationVersion;
00095 }
00096
00097 public void setImplementationVersion(String implementationVersion) {
00098 this.implementationVersion = implementationVersion;
00099 }
00100
00101 public String getImplementationVendor() {
00102 return implementationVendor;
00103 }
00104
00105 public void setImplementationVendor(String implementationVendor) {
00106 this.implementationVendor = implementationVendor;
00107 }
00108
00109
00110
00117 public void reset(ActionMapping mapping, HttpServletRequest request) {
00118 mBeanServerId = null;
00119 specificationName = null;
00120 specificationVersion = null;
00121 specificationVendor = null;
00122 implementationName = null;
00123 implementationVersion = null;
00124 implementationVendor = null;
00125 }
00126
00137 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
00138 return new ActionErrors();
00139 }
00140 }