1 26 27 package org.objectweb.jonas.webapp.jonasadmin.jonasserver; 28 29 import javax.servlet.http.HttpServletRequest ; 30 31 import org.apache.struts.action.ActionErrors; 32 import org.apache.struts.action.ActionForm; 33 import org.apache.struts.action.ActionMapping; 34 35 38 39 public final class JmxServerForm extends BasicJonasServerForm { 40 41 43 private String mBeanServerId = null; 44 private String specificationName = null; 45 private String specificationVersion = null; 46 private String specificationVendor = null; 47 private String implementationName = null; 48 private String implementationVersion = null; 49 private String implementationVendor = null; 50 51 53 public String getSpecificationVersion() { 54 return specificationVersion; 55 } 56 57 public void setSpecificationVersion(String specificationVersion) { 58 this.specificationVersion = specificationVersion; 59 } 60 61 public String getMBeanServerId() { 62 return mBeanServerId; 63 } 64 65 public void setMBeanServerId(String mBeanServerId) { 66 this.mBeanServerId = mBeanServerId; 67 } 68 69 public String getSpecificationName() { 70 return specificationName; 71 } 72 73 public void setSpecificationName(String specificationName) { 74 this.specificationName = specificationName; 75 } 76 77 public String getSpecificationVendor() { 78 return specificationVendor; 79 } 80 81 public void setSpecificationVendor(String specificationVendor) { 82 this.specificationVendor = specificationVendor; 83 } 84 85 public String getImplementationName() { 86 return implementationName; 87 } 88 89 public void setImplementationName(String implementationName) { 90 this.implementationName = implementationName; 91 } 92 93 public String getImplementationVersion() { 94 return implementationVersion; 95 } 96 97 public void setImplementationVersion(String implementationVersion) { 98 this.implementationVersion = implementationVersion; 99 } 100 101 public String getImplementationVendor() { 102 return implementationVendor; 103 } 104 105 public void setImplementationVendor(String implementationVendor) { 106 this.implementationVendor = implementationVendor; 107 } 108 109 111 117 public void reset(ActionMapping mapping, HttpServletRequest request) { 118 mBeanServerId = null; 119 specificationName = null; 120 specificationVersion = null; 121 specificationVendor = null; 122 implementationName = null; 123 implementationVersion = null; 124 implementationVendor = null; 125 } 126 127 137 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 138 return new ActionErrors(); 139 } 140 } 141 | Popular Tags |