1 27 package org.objectweb.jonas_ejb.deployment.xml; 28 29 import org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement; 30 import org.objectweb.jonas_lib.deployment.xml.JLinkedList; 31 import org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef; 32 33 38 39 public abstract class CommonEjb extends AbsEnvironmentElement implements CommonEjbXml { 40 41 42 43 46 private String ejbName = null; 47 48 51 private String home = null; 52 53 56 private String remote = null; 57 58 61 private String localHome = null; 62 63 66 private String local = null; 67 68 71 private String ejbClass = null; 72 73 74 77 private String messagingType = null; 78 79 82 private String transactionType = null; 83 84 85 88 private JLinkedList securityRoleRefList = null; 89 90 93 private SecurityIdentity securityIdentity = null; 94 95 98 public CommonEjb() { 99 super(); 100 securityRoleRefList = new JLinkedList("security-role-ref"); 101 } 102 103 107 public String getEjbName() { 108 return ejbName; 109 } 110 111 115 public void setEjbName(String ejbName) { 116 this.ejbName = ejbName; 117 } 118 119 123 public String getHome() { 124 return home; 125 } 126 127 131 public void setHome(String home) { 132 this.home = home; 133 } 134 135 139 public String getRemote() { 140 return remote; 141 } 142 143 147 public void setRemote(String remote) { 148 this.remote = remote; 149 } 150 151 155 public String getLocalHome() { 156 return localHome; 157 } 158 159 163 public void setLocalHome(String localHome) { 164 this.localHome = localHome; 165 } 166 167 171 public String getLocal() { 172 return local; 173 } 174 175 179 public void setLocal(String local) { 180 this.local = local; 181 } 182 183 187 public String getEjbClass() { 188 return ejbClass; 189 } 190 191 195 public void setEjbClass(String ejbClass) { 196 this.ejbClass = ejbClass; 197 } 198 199 203 public String getMessagingType() { 204 return messagingType; 205 } 206 207 211 public void setMessagingType(String messagingType) { 212 this.messagingType = messagingType; 213 } 214 215 219 public String getTransactionType() { 220 return transactionType; 221 } 222 223 227 public void setTransactionType(String transactionType) { 228 this.transactionType = transactionType; 229 } 230 231 235 public JLinkedList getSecurityRoleRefList() { 236 return securityRoleRefList; 237 } 238 239 243 public void setSecurityRoleRefList(JLinkedList securityRoleRefList) { 244 this.securityRoleRefList = securityRoleRefList; 245 } 246 247 251 public void addSecurityRoleRef(SecurityRoleRef securityRoleRef) { 252 securityRoleRefList.add(securityRoleRef); 253 } 254 255 259 public SecurityIdentity getSecurityIdentity() { 260 return securityIdentity; 261 } 262 263 267 public void setSecurityIdentity(SecurityIdentity securityIdentity) { 268 this.securityIdentity = securityIdentity; 269 } 270 271 272 } 273 | Popular Tags |