1 25 26 package org.objectweb.jonas.webapp.jonasadmin.jonasserver; 27 32 33 import javax.servlet.http.HttpServletRequest ; 34 35 import org.apache.struts.action.ActionMapping; 36 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem; 37 38 41 public class JndiResourceItem implements NameItem { 42 43 45 private String name = null; private String providerUrl = null; 47 private String protocol = null; 49 private String resourceON = null; 50 51 53 public void reset(ActionMapping mapping, HttpServletRequest request) { 54 providerUrl = null; 55 protocol = null; 56 resourceON = null; 57 name = null; 58 } 60 61 63 public String getProviderUrl() { 64 return providerUrl; 65 } 66 67 public void setProviderUrl(String providerUrl) { 68 this.providerUrl = providerUrl; 69 } 70 81 84 public String getProtocol() { 85 return protocol; 86 } 87 90 public void setProtocol(String protocol) { 91 this.protocol = protocol; 92 } 93 96 public String getResourceON() { 97 return resourceON; 98 } 99 102 public void setResourceON(String resourceON) { 103 this.resourceON = resourceON; 104 } 105 108 public String getName() { 109 return name; 110 } 111 } | Popular Tags |