/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/ |
H A D | MethodPermissionDescriptor.java | 62 Vector methods = new Vector(); field in class:MethodPermissionDescriptor 70 methods.add(aMethod); 73 public void addMethods(Collection methods) { argument 74 this.methods.addAll(methods); 82 MethodDescriptor[] array = new MethodDescriptor[methods.size()]; 83 methods.copyInto(array); 102 buffer.append("\nFor the following ").append(methods.size()).append(" methods\n"); 103 for (Iterator methodsIterator = methods [all...] |
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/mapping/ |
H A D | CacheMapping.java | 46 * url-pattern, a timeout, allowed methods, a set of key fields to be used to 62 // set of standard HTTP methods eligible for caching 63 private String methods[] = new String[0]; field in class:CacheMapping 128 /** set allowable HTTP methods 129 * @param methods allowable methods 131 public void setMethods(String[] methods) { argument 132 if (methods == null) 135 this.methods = methods; [all...] |
/glassfish-3.1.2/ejb/ejb-container/src/main/java/org/glassfish/ejb/deployment/ |
H A D | BeanMethodCalculatorImpl.java | 52 * Utility class to calculate the list of methods required to have transaction 70 // Start with all *public* methods 71 Method[] methods = theClass.getMethods(); 77 for(int mIndex = 0; mIndex < methods.length; mIndex++) { 78 Method next = methods[mIndex]; 97 Vector methods = new Vector(); 100 addAllInterfaceMethodsIn(methods, classLoader.loadClass(ejbDescriptor.getHomeClassName())); 101 addAllInterfaceMethodsIn(methods, classLoader.loadClass(ejbDescriptor.getRemoteClassName())); 106 addAllInterfaceMethodsIn(methods, classLoader.loadClass(intf)); 111 addAllInterfaceMethodsIn(methods, classLoade 132 addAllInterfaceMethodsIn(Collection methods, Class c) argument 306 transformAndAdd(Collection methods, String methodIntf, Vector globalList) argument [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/ejbpostcreatemethod/ |
H A D | EjbPostCreateMethodArgs.java | 54 * Entity Bean's ejbPostCreate(...) methods test. 55 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 56 * The number and signatures of a entity Bean's create methods are specific 61 * The methods arguments must be the same as the arguments of the 69 * Entity Bean's ejbPostCreate(...) methods test. 70 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 71 * The number and signatures of a entity Bean's create methods are specific 76 * The methods arguments must be the same as the arguments of the 101 Method [] methods = c.getDeclaredMethods(); 103 for (int i = 0; i < methods [all...] |
H A D | EjbPostCreateMethodReturn.java | 53 * Entity Bean's ejbPostCreate(...) methods test. 54 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 55 * The number and signatures of a entity Bean's create methods are specific 67 * Entity Bean's ejbPostCreate(...) methods test. 68 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 69 * The number and signatures of a entity Bean's create methods are specific 97 Method [] methods = c.getDeclaredMethods(); 98 for (int i = 0; i < methods.length; i++) { 104 if (methods[i].getName().startsWith("ejbPostCreate")) { 109 Class rt = methods[ [all...] |
H A D | EjbPostCreateMethodFinal.java | 53 * Entity Bean's ejbPostCreate(...) methods test. 54 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 55 * The number and signatures of a entity Bean's create methods are specific 67 * Entity Bean's ejbPostCreate(...) methods test. 68 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 69 * The number and signatures of a entity Bean's create methods are specific 97 Method [] methods = c.getDeclaredMethods(); 98 for (int i = 0; i < methods.length; i++) { 104 if (methods[i].getName().startsWith("ejbPostCreate")) { 109 int modifiers = methods[ [all...] |
H A D | EjbPostCreateMethodName.java | 54 * Entity Bean's ejbPostCreate(...) methods test. 55 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 56 * The number and signatures of a entity Bean's create methods are specific 66 * Entity Bean's ejbPostCreate(...) methods test. 67 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 68 * The number and signatures of a entity Bean's create methods are specific 91 Method [] methods = c.getDeclaredMethods(); 93 for (int i = 0; i < methods.length; i++) { 95 if (methods[i].getName().startsWith("ejbCreate")) { 96 createMethodSuffix.addElement((Method)methods[ [all...] |
H A D | EjbPostCreateMethodStatic.java | 53 * Entity Bean's ejbPostCreate(...) methods test. 54 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 55 * The number and signatures of a entity Bean's create methods are specific 67 * Entity Bean's ejbPostCreate(...) methods test. 68 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 69 * The number and signatures of a entity Bean's create methods are specific 97 Method [] methods = c.getDeclaredMethods(); 98 for (int i = 0; i < methods.length; i++) { 104 if (methods[i].getName().startsWith("ejbPostCreate")) { 109 int modifiers = methods[ [all...] |
H A D | EjbPostCreateMethodException.java | 54 * Entity Bean's ejbPostCreate(...) methods test. 55 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 56 * The number and signatures of a entity Bean's create methods are specific 72 * Entity Bean's ejbPostCreate(...) methods test. 73 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 74 * The number and signatures of a entity Bean's create methods are specific 106 Method [] methods = c.getDeclaredMethods(); 107 for (int i = 0; i < methods.length; i++) { 113 if (methods[i].getName().startsWith("ejbPostCreate")) { 124 Class [] exceptions = methods[ [all...] |
H A D | EjbPostCreateMethodPublic.java | 53 * Entity Bean's ejbPostCreate(...) methods test. 54 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 55 * The number and signatures of a entity Bean's create methods are specific 67 * Entity Bean's ejbPostCreate(...) methods test. 68 * Each entity Bean class may define zero or more ejbPostCreate(...) methods. 69 * The number and signatures of a entity Bean's create methods are specific 97 Method [] methods = c.getDeclaredMethods(); 98 for (int i = 0; i < methods.length; i++) { 104 if (methods[i].getName().startsWith("ejbPostCreate")) { 109 int modifiers = methods[ [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/ |
H A D | ContainerTransactionStyle3.java | 53 * The container transaction element specifies that all the listed methods are 64 * This style is used to refer to a single method within a set of methods with 84 * The container transaction element specifies that all the listed methods are 96 * This style is used to refer to a single method within a set of methods with 130 "Valid container transaction methods.")); 136 * Iterate over all the bean methods and check if they are present in any 164 Set<Method> methods = getAllInterfaceMethods(methodDescriptor); 166 if(!isMethodContained(methods, methodDescriptor)) { // report failure 187 /** get methods from all of bean's interfaces*/ 198 /** Collect all the methods th 254 isMethodContained(Set<Method> methods, MethodDescriptor methodDescriptor) argument [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/cmp2/ |
H A D | SelectMethodTest.java | 78 Method[] methods = ejbClass.getDeclaredMethods(); 79 if (methods != null) { 80 for (int i=0;i<methods.length;i++) { 81 String methodName = methods[i].getName(); 84 if (!runIndividualSelectTest(methods[i], (EjbCMPEntityDescriptor) descriptor, result)) 95 "Not Applicable : No select methods found",
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/deploy/ |
H A D | SecurityCollection.java | 135 * The HTTP methods covered by this web resource collection. 137 private String methods[] = new String[0]; field in class:SecurityCollection 215 String results[] = new String[methods.length + 1]; 216 for (int i = 0; i < methods.length; i++) 217 results[i] = methods[i]; 218 results[methods.length] = method; 219 methods = results; 265 if (methods.length == 0) 267 for (int i = 0; i < methods.length; i++) { 268 if (methods[ [all...] |
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/common/ |
H A D | DataSourceObjectBuilder.java | 115 Method[] methods = dataSourceObject.getClass().getMethods(); 116 for (int i = 0; i < methods.length; i++) { 117 String methodName = methods[i].getName(); 122 executor.runMethod(methods[i], dataSourceObject, values); 124 executor.runJavaBeanMethod(spec.getDetail(DataSourceSpec.USERNAME), methods[i], dataSourceObject); 127 executor.runJavaBeanMethod(spec.getDetail(DataSourceSpec.PASSWORD), methods[i], dataSourceObject); 130 executor.runJavaBeanMethod(spec.getDetail(DataSourceSpec.LOGINTIMEOUT), methods[i], dataSourceObject); 133 executor.runJavaBeanMethod(spec.getDetail(DataSourceSpec.LOGWRITER), methods[i], dataSourceObject); 136 executor.runJavaBeanMethod(spec.getDetail(DataSourceSpec.DATABASENAME), methods[i], dataSourceObject); 139 executor.runJavaBeanMethod(spec.getDetail(DataSourceSpec.DATASOURCENAME), methods[ [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/findermethod/ |
H A D | HomeInterfaceFindMethodExceptionMatch.java | 62 * methods. 79 * methods. 151 // methods which match ejbfind<METHOD>, and exceptions match Bean's 156 Method methods[] = c.getDeclaredMethods(); 167 for (int i=0; i< methods.length; i++) { 168 if (methods[i].getName().startsWith("find")) { 183 if (methods[i].getName().toUpperCase().equals 189 methodParameterTypes = methods[i].getParameterTypes(); 194 methodExceptionTypes = methods[i].getExceptionTypes(); 224 } // for all the business methods withi [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/messagebean/ |
H A D | RemoteExceptionNotThrown.java | 51 * Message listener methods should not throw java.rmi.RemoteException. 61 Method[] methods = descriptor.getMessageListenerInterfaceMethods(cl); 62 for (int i = 0; i < methods.length; i++) { 63 if(containsRemote(methods[i].getExceptionTypes())) { 68 new Object[] {methods[i]}));
|
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/session/ejbcreatemethod/ |
H A D | EjbCreateMethodArgs.java | 55 * Session Bean's ejbCreate(...) methods arguments test. 56 * Each session Bean class must define one or more ejbCreate(...) methods. 57 * The number and signatures of a session Bean's create methods are specific 62 * The methods arguments must be legal types for RMI-IIOP. 69 * Session Bean's ejbCreate(...) methods arguments test. 70 * Each session Bean class must define one or more ejbCreate(...) methods. 71 * The number and signatures of a session Bean's create methods are specific 76 * The methods arguments must be legal types for RMI-IIOP. 120 Method [] methods = c.getDeclaredMethods(); 121 for (int i = 0; i < methods [all...] |
H A D | EjbCreateMethodReturn.java | 54 * Session Bean's ejbCreate(...) methods return test. 55 * Each session Bean class must define one or more ejbCreate(...) methods. 56 * The number and signatures of a session Bean's create methods are specific 68 * Session Bean's ejbCreate(...) methods return test. 69 * Each session Bean class must define one or more ejbCreate(...) methods. 70 * The number and signature of a session Bean's create methods are specific 99 Method [] methods = c.getDeclaredMethods(); 100 for (int i = 0; i < methods.length; i++) { 106 if (methods[i].getName().startsWith("ejbCreate")) { 110 Class rt = methods[ [all...] |
H A D | EjbCreateMethodFinal.java | 54 * Session Bean's ejbCreate(...) methods final test. 55 * Each session Bean class must define one or more ejbCreate(...) methods. 56 * The number and signatures of a session Bean's create methods are specific 68 * Session Bean's ejbCreate(...) methods final test. 69 * Each session Bean class must define one or more ejbCreate(...) methods. 70 * The number and signatures of a session Bean's create methods are specific 98 Method [] methods = c.getDeclaredMethods(); 99 for (int i = 0; i < methods.length; i++) { 105 if (methods[i].getName().startsWith("ejbCreate")) { 110 int modifiers = methods[ [all...] |
H A D | EjbCreateMethodStatic.java | 54 * Session Bean's ejbCreate(...) methods static test. 55 * Each session Bean class must define one or more ejbCreate(...) methods. 56 * The number and signatures of a session Bean's create methods are specific 68 * Session Bean's ejbCreate(...) methods static test. 69 * Each session Bean class must define one or more ejbCreate(...) methods. 70 * The number and signatures of a session Bean's create methods are specific 99 Method [] methods = c.getDeclaredMethods(); 100 for (int i = 0; i < methods.length; i++) { 106 if (methods[i].getName().startsWith("ejbCreate")) { 111 int modifiers = methods[ [all...] |
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/modules/ |
H A D | MbeansDescriptorsIntrospectionSource.java | 232 * Process the methods and extract 'attributes', methods, etc 235 * @param methods The methods to process 242 Method methods[], 249 for (int j = 0; j < methods.length; ++j) { 250 String name=methods[j].getName(); 252 if( Modifier.isStatic(methods[j].getModifiers())) 254 if( ! Modifier.isPublic( methods[j].getModifiers() ) ) { 256 log.fine("Not public " + methods[ 241 initMethods(Class<?> realClass, Method methods[], Hashtable<String,Method> attMap, Hashtable<String,Method> getAttMap, Hashtable<String,Method> setAttMap, Hashtable<String,Method> invokeAttMap) argument [all...] |
/glassfish-3.1.2/admin/monitor/src/main/java/com/sun/enterprise/admin/monitor/stats/ |
H A D | GenericStatsImpl.java | 53 * specific Stats interfaces. None of them has to implement the methods defined 56 * have to do is implement the specific accessing methods in their Stats interfaces 57 * and delegate the rest to this class. <b> This class invokes all these methods in 165 // exclude methods that belong to the javax.management.j2ee.Stats 167 final Method[] methods = getGetters(apis); 168 final String[] names = methods2Statistics(methods); 169 assert (names.length == methods.length) : ("Statistic names array is not having same length as that of array of getters"); 172 getters.put(names[i], methods[i]); 174 assert (getters.size() == i) : ("Getters map is incorrect, names.length = " + names.length + " methods.length = " + methods 197 methods2Statistics(Method[] methods) argument [all...] |
/glassfish-3.1.2/orb/orb-connector/src/main/java/org/glassfish/enterprise/iiop/util/ |
H A D | GenericStatsImpl.java | 53 * specific Stats interfaces. None of them has to implement the methods defined 56 * have to do is implement the specific accessing methods in their Stats interfaces 57 * and delegate the rest to this class. <b> This class invokes all these methods in 165 // exclude methods that belong to the javax.management.j2ee.Stats 167 final Method[] methods = getGetters(apis); 168 final String[] names = methods2Statistics(methods); 169 assert (names.length == methods.length) : ("Statistic names array is not having same length as that of array of getters"); 172 getters.put(names[i], methods[i]); 174 assert (getters.size() == i) : ("Getters map is incorrect, names.length = " + names.length + " methods.length = " + methods 197 methods2Statistics(Method[] methods) argument [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/entity/ejbcreatemethod/ |
H A D | EjbCreateMethodArgs.java | 54 * Entity Bean's ejbCreate(...) methods arguments test. 55 * Each entity Bean class may define zero or more ejbCreate(...) methods. 56 * The number and signatures of a entity Bean's create methods are specific 61 * The methods arguments must be legal types for RMI-IIOP. 68 * Entity Bean's ejbCreate(...) methods arguments test. 69 * Each entity Bean class may define zero or more ejbCreate(...) methods. 70 * The number and signatures of a entity Bean's create methods are specific 75 * The methods arguments must be legal types for RMI-IIOP. 117 Method [] methods = c.getDeclaredMethods(); 118 for (int i = 0; i < methods [all...] |
H A D | EjbCreateMethodExceptions.java | 53 * Entity Bean's ejbCreate(...) methods exceptions test. 54 * Each entity Bean class may define zero or more ejbCreate(...) methods. 55 * The number and signatures of a entity Bean's create methods are specific 71 * Entity Bean's ejbCreate(...) methods exceptions test. 72 * Each entity Bean class may define zero or more ejbCreate(...) methods. 73 * The number and signatures of a entity Bean's create methods are specific 105 Method [] methods = c.getDeclaredMethods(); 106 for (int i = 0; i < methods.length; i++) { 112 if (methods[i].getName().startsWith("ejbCreate")) { 123 Class [] exceptions = methods[ [all...] |