/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/ |
H A D | TransactionDemarcationType.java | 100 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 101 if (Arrays.binarySearch(EJBObjectMethods, methodDescriptor.getName()) < 0) { 103 (ContainerTransaction) descriptor.getMethodContainerTransactions().get(methodDescriptor); 125 new Object[] {transactionAttribute, methodDescriptor.getName()})); 132 new Object[] {transactionAttribute, methodDescriptor.getName()})); 142 new Object[] {methodDescriptor.getName()})); 151 String ejbClass = methodDescriptor.getEjbClassSymbol(); 160 methodIntf = methodDescriptor.getEjbClassSymbol(); 178 new Object[] {methodDescriptor.getName()})); 185 && session && methodDescriptor [all...] |
H A D | ContainerTransactionStyle3.java | 150 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 152 if (methodDescriptor.getName().equals(MethodDescriptor.ALL_EJB_METHODS) || 153 methodDescriptor.getParameterClassNames() == null) // style 1 and 2 157 MethodDescriptor.EJB_BEAN.equals(methodDescriptor.getEjbClassSymbol()) && 158 methodDescriptor.getName().equals("ejbTimeout")) { 159 String[] params=methodDescriptor.getJavaParameterClassNames(); 164 Set<Method> methods = getAllInterfaceMethods(methodDescriptor); 166 if(!isMethodContained(methods, methodDescriptor)) { // report failure 167 String ejbClassSymbol = methodDescriptor.getEjbClassSymbol(); 182 new Object[] {methodDescriptor 199 getAllInterfaceMethods(MethodDescriptor methodDescriptor) argument 254 isMethodContained(Set<Method> methods, MethodDescriptor methodDescriptor) argument [all...] |
H A D | ContainerTransactionStyle2.java | 111 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 113 if (methodDescriptor.getParameterClassNames() == null) { 125 if (methodDescriptor.getName().equals(matchingMethodDescriptor.getName())) { 142 new Object[] {methodDescriptor.getName(), descriptor.getName()})); 154 new Object[] {methodDescriptor.getName(), new Integer(foundIt), descriptor.getName(),new Integer(2)})); 164 new Object[] {methodDescriptor.getName(), descriptor.getName()})); 175 new Object[] {methodDescriptor.getName(), new Integer(2), descriptor.getName()}));
|
H A D | TransactionDemarcationBeanManaged.java | 85 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 87 (ContainerTransaction) descriptor.getMethodContainerTransactions().get(methodDescriptor); 112 new Object[] {transactionAttribute, methodDescriptor.getName(),descriptor.getName()})); 121 new Object[] {transactionAttribute, methodDescriptor.getName(),descriptor.getName()})); 131 new Object[] {methodDescriptor.getName(),descriptor.getName()}));
|
H A D | ContainerTransactionStyle1.java | 107 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 109 if (methodDescriptor.getName().equals(MethodDescriptor.ALL_EJB_METHODS)) {
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/common/ |
H A D | MessageDescriptor.java | 61 private MethodDescriptor methodDescriptor = null; field in class:MessageDescriptor 84 public void setMethodDescriptor(MethodDescriptor methodDescriptor) { argument 85 this.methodDescriptor = methodDescriptor; 89 return methodDescriptor; 138 if (operationName == null && methodDescriptor == null) { 142 } else if (methodDescriptor != null) { 143 if (methodDescriptor.getName() != null && 144 methodDescriptor.getParameterClassNames() != null) { 146 convertedMethodDescs.add(methodDescriptor); [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/ |
H A D | TransactionDemarcationComponentInterface.java | 156 // because currently methodDescriptor.getEjbClassSymbol() is 165 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 173 // because currently methodDescriptor.getEjbClassSymbol() is 177 methodIntf = methodDescriptor.getEjbClassSymbol(); 192 if (methodDescriptor.getName().equals(MethodDescriptor.ALL_EJB_METHODS)) { 195 if (methodDescriptor.getEjbClassSymbol() == null) { 197 } else if (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_REMOTE)) { 200 } else if (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_LOCAL)) { 202 }else if (methodDescriptor.getEjbClassSymbol().equals("")) { 204 } else if (methodDescriptor [all...] |
H A D | TransactionDemarcationHomeInterface.java | 152 // because currently methodDescriptor.getEjbClassSymbol() is 162 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 170 // because currently methodDescriptor.getEjbClassSymbol() is 174 methodIntf = methodDescriptor.getEjbClassSymbol(); 190 if (methodDescriptor.getName().equals(MethodDescriptor.ALL_EJB_METHODS)) { 193 if (methodDescriptor.getEjbClassSymbol() == null) { 195 } else if (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_HOME)) { 198 } else if (methodDescriptor.getEjbClassSymbol().equals("")) { 200 }else if (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_LOCALHOME)) { 202 } else if (methodDescriptor [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/elements/ |
H A D | MethodsExist.java | 67 protected void checkMethodStyles(MethodDescriptor methodDescriptor, argument 70 if (methodDescriptor.getName().equals(MethodDescriptor.ALL_EJB_METHODS)) 73 if (methodDescriptor.getParameterClassNames() == null) //style 2 74 checkStyle(methodDescriptor, descriptor, true); 76 checkStyle(methodDescriptor, descriptor, false); 79 private void checkStyle(MethodDescriptor methodDescriptor, argument 83 String methodName = methodDescriptor.getName(); 85 if (methodDescriptor.getEjbClassSymbol() != null) { // method intf present 87 if (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_REMOTE)) { 93 if(!contains(methodDescriptor, getAllMethod [all...] |
H A D | ContainerTransactionMethodExists.java | 72 for (MethodDescriptor methodDescriptor : transactionalMethods.keySet()) 73 checkMethodStyles(methodDescriptor, descriptor);
|
H A D | EjbMethodIntfElement.java | 97 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 98 String methodIntf = methodDescriptor.getEjbClassSymbol(); 111 // if (!((methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_REMOTE)) || 112 // (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_HOME)) || 113 // (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_LOCALHOME)) || 114 // (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_LOCAL)) || 115 // (methodDescriptor.getEjbClassSymbol().length()==0))) { 125 new Object[] {methodDescriptor.getName(),methodDescriptor.getEjbClassSymbol(), 138 new Object[] {methodDescriptor [all...] |
H A D | ExcludeListMethodsExist.java | 79 for (MethodDescriptor methodDescriptor : permissionedMethods) 80 checkMethodStyles(methodDescriptor, descriptor);
|
H A D | MethodPermissionMethodExists.java | 79 for (MethodDescriptor methodDescriptor : permissionedMethods.get(methodPermission)) 80 checkMethodStyles(methodDescriptor, descriptor);
|
H A D | UncheckedMethodsExist.java | 79 for (MethodDescriptor methodDescriptor : permissionedMethods) 80 checkMethodStyles(methodDescriptor, descriptor);
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/session/ |
H A D | TransactionDemarcationComponentInterface.java | 195 // because currently methodDescriptor.getEjbClassSymbol() is 206 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 215 methodIntf = methodDescriptor.getEjbClassSymbol(); 230 if (methodDescriptor.getName().equals(MethodDescriptor.ALL_EJB_METHODS)) { 233 if (methodDescriptor.getEjbClassSymbol() == null) { 235 } else if (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_REMOTE)|| 236 methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_LOCAL)) { 239 } else if (methodDescriptor.getEjbClassSymbol().equals("")) { 241 } else if (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_HOME)|| 242 methodDescriptor [all...] |
H A D | TransactionDemarcationHomeInterface.java | 184 // because currently methodDescriptor.getEjbClassSymbol() is 193 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 202 methodIntf = methodDescriptor.getEjbClassSymbol(); 218 if (methodDescriptor.getName().equals(MethodDescriptor.ALL_EJB_METHODS)) { 221 if (methodDescriptor.getEjbClassSymbol() == null) { 223 } else if (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_HOME)) { 226 } else if (methodDescriptor.getEjbClassSymbol().equals("")) { 228 } else if (methodDescriptor.getEjbClassSymbol().equals(MethodDescriptor.EJB_REMOTE)) { 236 } else if (methodDescriptor.getParameterClassNames() == null) { 237 // if (getEjbClassSybol() is Home or is the empty String AND if methods[i].getName().equals(methodDescriptor [all...] |
H A D | TransactionDemarcationSessionSynchronizationInterface.java | 126 MethodDescriptor methodDescriptor = (MethodDescriptor) ee.nextElement(); 128 (ContainerTransaction) descriptor.getMethodContainerTransactions().get(methodDescriptor); 137 new Object[] {transactionAttribute, methodDescriptor.getName()}));
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/ |
H A D | QueryDescriptor.java | 66 private MethodDescriptor methodDescriptor; field in class:QueryDescriptor 104 this.methodDescriptor = md; 109 return methodDescriptor; 124 methodDescriptor = m; 128 return methodDescriptor;
|
H A D | EjbSessionDescriptor.java | 575 public void addReadLockMethod(MethodDescriptor methodDescriptor) { argument 576 readLockMethods.add(methodDescriptor); 579 public void addWriteLockMethod(MethodDescriptor methodDescriptor) { argument 580 writeLockMethods.add(methodDescriptor); 598 public void addAccessTimeoutMethod(MethodDescriptor methodDescriptor, long value, argument 600 accessTimeoutMethods.add(new AccessTimeoutHolder(value, unit, methodDescriptor));
|
H A D | EjbDescriptor.java | 956 public void setContainerTransactionFor(MethodDescriptor methodDescriptor, ContainerTransaction containerTransaction) { argument 957 ContainerTransaction oldValue = this.getContainerTransactionFor(methodDescriptor); 968 //_logger.log(Level.FINE,"put " + methodDescriptor + " " + containerTransaction); 969 getMethodContainerTransactions().put(methodDescriptor, containerTransaction); 973 private void removeContainerTransactionFor(MethodDescriptor methodDescriptor) { argument 974 getMethodContainerTransactions().remove(methodDescriptor); 987 MethodDescriptor methodDescriptor = (MethodDescriptor) e.nextElement(); 989 (ContainerTransaction) methodContainerTransactions.get(methodDescriptor); 990 setContainerTransactionFor(methodDescriptor, containerTransaction); 1014 public ContainerTransaction getContainerTransactionFor(MethodDescriptor methodDescriptor) { argument 1438 getMethodPermissionsFor(MethodDescriptor methodDescriptor) argument 1446 getMethodPermissions(MethodDescriptor methodDescriptor) argument [all...] |
H A D | EjbMessageBeanDescriptor.java | 149 public void setContainerTransactionFor(MethodDescriptor methodDescriptor, ContainerTransaction containerTransaction) { argument 153 (methodDescriptor, containerTransaction);
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/businessmethod/ |
H A D | BusinessMethodMatchesWithDD.java | 147 MethodDescriptor methodDescriptor = (MethodDescriptor)methods.next(); 149 if (methodDescriptor.getName().equals(remoteMethod.getName())) { 150 if (MethodUtils.stringArrayEquals(methodDescriptor.getParameterClassNames(),
|
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbc/ |
H A D | AbstractMethodHelper.java | 105 MethodDescriptor methodDescriptor = 107 Method method = methodDescriptor.getMethod(descriptor); 108 String methodName = methodDescriptor.getName();
|
H A D | MethodHelper.java | 127 MethodDescriptor methodDescriptor = 131 methodDescriptor);
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/runtime/ |
H A D | IASEjbExtraDescriptors.java | 502 MethodDescriptor methodDescriptor = 504 if (methodDescriptor != null) { 506 methodDescriptor);
|