Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 7 package org.jboss.ejb3.dd; 8 9 import java.util.ArrayList ; 10 import java.util.List ; 11 12 import org.jboss.logging.Logger; 13 14 21 public class AssemblyDescriptor 22 { 23 private static final Logger log = Logger.getLogger(AssemblyDescriptor.class); 24 25 private List securityRoles = new ArrayList (); 26 27 private List methodPermissions = new ArrayList (); 28 29 private List containerTransactions = new ArrayList (); 30 31 private ExcludeList excludeList; 32 33 private RemoveList removeList; 34 35 private InitList initList; 36 37 private List injects = new ArrayList (); 38 39 private List callbacks = new ArrayList (); 40 41 public InitList getInitList() 42 { 43 return initList; 44 } 45 46 public void setInitList(InitList initList) 47 { 48 this.initList = initList; 49 } 50 51 public RemoveList getRemoveList() 52 { 53 return removeList; 54 } 55 56 public void setRemoveList(RemoveList removeList) 57 { 58 this.removeList = removeList; 59 } 60 61 public ExcludeList getExcludeList() 62 { 63 return excludeList; 64 } 65 66 public void setExcludeList(ExcludeList excludeList) 67 { 68 this.excludeList = excludeList; 69 } 70 71 public List getSecurityRoles() 72 { 73 return securityRoles; 74 } 75 76 public void setSecurityRoles(List securityRoles) 77 { 78 this.securityRoles = securityRoles; 79 } 80 81 public void addSecurityRole(SecurityRole securityRole) 82 { 83 securityRoles.add(securityRole); 84 } 85 86 public List getCallbacks() 87 { 88 return callbacks; 89 } 90 91 public void addCallback(Callback callback) 92 { 93 callbacks.add(callback); 94 } 95 96 public List getInjects() 97 { 98 return injects; 99 } 100 101 public void addInject(Inject inject) 102 { 103 injects.add(inject); 104 } 105 106 public List getMethodPermissions() 107 { 108 return methodPermissions; 109 } 110 111 public void setMethodPermissions(List methodPermissions) 112 { 113 this.methodPermissions = methodPermissions; 114 } 115 116 public void addMethodPermission(MethodPermission methodPermission) 117 { 118 methodPermissions.add(methodPermission); 119 } 120 121 public List getContainerTransactions() 122 { 123 return containerTransactions; 124 } 125 126 public void setContainerTransactions(List containerTransactions) 127 { 128 this.containerTransactions = containerTransactions; 129 } 130 131 public void addContainerTransaction(ContainerTransaction containerTransaction) 132 { 133 containerTransactions.add(containerTransaction); 134 } 135 136 public String toString() 137 { 138 StringBuffer sb = new StringBuffer (100); 139 sb.append("["); 140 sb.append("securityRoles=").append(securityRoles); 141 sb.append("]"); 142 return sb.toString(); 143 } 144 } 145
| Popular Tags
|