00001
00026 package org.objectweb.jonas.webapp.jonasadmin.jonasserver;
00027
00028
00029
00030
00031
00032
00033 import javax.servlet.http.HttpServletRequest;
00034
00035 import org.apache.struts.action.ActionMapping;
00036 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem;
00037
00041 public class JndiResourceItem implements NameItem {
00042
00043
00044
00045 private String name = null;
00046 private String providerUrl = null;
00047
00048 private String protocol = null;
00049 private String resourceON = null;
00050
00051
00052
00053 public void reset(ActionMapping mapping, HttpServletRequest request) {
00054 providerUrl = null;
00055 protocol = null;
00056 resourceON = null;
00057 name = null;
00058
00059 }
00060
00061
00062
00063 public String getProviderUrl() {
00064 return providerUrl;
00065 }
00066
00067 public void setProviderUrl(String providerUrl) {
00068 this.providerUrl = providerUrl;
00069 }
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00084 public String getProtocol() {
00085 return protocol;
00086 }
00090 public void setProtocol(String protocol) {
00091 this.protocol = protocol;
00092 }
00096 public String getResourceON() {
00097 return resourceON;
00098 }
00102 public void setResourceON(String resourceON) {
00103 this.resourceON = resourceON;
00104 }
00108 public String getName() {
00109 return name;
00110 }
00111 }