1 17 18 19 package org.apache.catalina.deploy; 20 21 import java.io.Serializable ; 22 23 24 33 34 public class ContextEjb extends ResourceBase implements Serializable { 35 36 37 39 40 41 44 private String home = null; 45 46 public String getHome() { 47 return (this.home); 48 } 49 50 public void setHome(String home) { 51 this.home = home; 52 } 53 54 55 58 private String link = null; 59 60 public String getLink() { 61 return (this.link); 62 } 63 64 public void setLink(String link) { 65 this.link = link; 66 } 67 68 71 private String remote = null; 72 73 public String getRemote() { 74 return (this.remote); 75 } 76 77 public void setRemote(String remote) { 78 this.remote = remote; 79 } 80 81 82 84 85 88 public String toString() { 89 90 StringBuffer sb = new StringBuffer ("ContextEjb["); 91 sb.append("name="); 92 sb.append(getName()); 93 if (getDescription() != null) { 94 sb.append(", description="); 95 sb.append(getDescription()); 96 } 97 if (getType() != null) { 98 sb.append(", type="); 99 sb.append(getType()); 100 } 101 if (home != null) { 102 sb.append(", home="); 103 sb.append(home); 104 } 105 if (remote != null) { 106 sb.append(", remote="); 107 sb.append(remote); 108 } 109 if (link != null) { 110 sb.append(", link="); 111 sb.append(link); 112 } 113 sb.append("]"); 114 return (sb.toString()); 115 116 } 117 118 119 } 120 | Popular Tags |