00001
00027 package org.objectweb.jonas_ejb.deployment.xml;
00028
00029 import org.objectweb.jonas_lib.deployment.xml.AbsEnvironmentElement;
00030 import org.objectweb.jonas_lib.deployment.xml.JLinkedList;
00031 import org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef;
00032
00039 public abstract class CommonEjb extends AbsEnvironmentElement implements CommonEjbXml {
00040
00041
00042
00046 private String ejbName = null;
00047
00051 private String home = null;
00052
00056 private String remote = null;
00057
00061 private String localHome = null;
00062
00066 private String local = null;
00067
00071 private String ejbClass = null;
00072
00073
00077 private String messagingType = null;
00078
00082 private String transactionType = null;
00083
00084
00088 private JLinkedList securityRoleRefList = null;
00089
00093 private SecurityIdentity securityIdentity = null;
00094
00098 public CommonEjb() {
00099 super();
00100 securityRoleRefList = new JLinkedList("security-role-ref");
00101 }
00102
00107 public String getEjbName() {
00108 return ejbName;
00109 }
00110
00115 public void setEjbName(String ejbName) {
00116 this.ejbName = ejbName;
00117 }
00118
00123 public String getHome() {
00124 return home;
00125 }
00126
00131 public void setHome(String home) {
00132 this.home = home;
00133 }
00134
00139 public String getRemote() {
00140 return remote;
00141 }
00142
00147 public void setRemote(String remote) {
00148 this.remote = remote;
00149 }
00150
00155 public String getLocalHome() {
00156 return localHome;
00157 }
00158
00163 public void setLocalHome(String localHome) {
00164 this.localHome = localHome;
00165 }
00166
00171 public String getLocal() {
00172 return local;
00173 }
00174
00179 public void setLocal(String local) {
00180 this.local = local;
00181 }
00182
00187 public String getEjbClass() {
00188 return ejbClass;
00189 }
00190
00195 public void setEjbClass(String ejbClass) {
00196 this.ejbClass = ejbClass;
00197 }
00198
00203 public String getMessagingType() {
00204 return messagingType;
00205 }
00206
00211 public void setMessagingType(String messagingType) {
00212 this.messagingType = messagingType;
00213 }
00214
00219 public String getTransactionType() {
00220 return transactionType;
00221 }
00222
00227 public void setTransactionType(String transactionType) {
00228 this.transactionType = transactionType;
00229 }
00230
00235 public JLinkedList getSecurityRoleRefList() {
00236 return securityRoleRefList;
00237 }
00238
00243 public void setSecurityRoleRefList(JLinkedList securityRoleRefList) {
00244 this.securityRoleRefList = securityRoleRefList;
00245 }
00246
00251 public void addSecurityRoleRef(SecurityRoleRef securityRoleRef) {
00252 securityRoleRefList.add(securityRoleRef);
00253 }
00254
00259 public SecurityIdentity getSecurityIdentity() {
00260 return securityIdentity;
00261 }
00262
00267 public void setSecurityIdentity(SecurityIdentity securityIdentity) {
00268 this.securityIdentity = securityIdentity;
00269 }
00270
00271
00272 }