/glassfish-3.1.2/tests/community/jdbc/jdbcusertx/src/java/test/ |
H A D | SimpleTest.java | 57 Map<String,Boolean> runTest(DataSource ds, PrintWriter out); argument
|
H A D | LeakTest.java | 64 public Map<String, Boolean> runTest(DataSource ds1, PrintWriter out) { argument 66 if (checkForNoLeak(ds1, out)) { 78 private boolean checkForNoLeak(DataSource ds1, PrintWriter out) { argument 83 HtmlUtil.printHR(out); 84 out.println("<h4> no leak test </h4>"); 89 out.println("able to retrieve all 32 connections<br>"); 92 HtmlUtil.printException(e, out); 107 HtmlUtil.printException(e, out); 109 HtmlUtil.printHR(out);
|
H A D | UserTxTest.java | 67 public Map<String, Boolean> runTest(DataSource ds1, PrintWriter out) { argument 69 if (testUserTxWithRollback(ds1, out)) { 79 if (testUserTxWithCommit(ds1, out)) { 92 private boolean testUserTxWithRollback(DataSource ds1, PrintWriter out) throws SystemException { argument 102 TablesUtil.createTables(ds1, out, tableName, columnName); 104 HtmlUtil.printHR(out); 105 out.println("<h4> user-tx-rollback test </h4>"); 110 out.println("<br>Able to lookup UserTransaction"); 112 out.println("<br>"); 113 out 166 testUserTxWithCommit(DataSource ds1, PrintWriter out) argument [all...] |
/glassfish-3.1.2/tests/community/jdbc/jdbcusertx/src/java/util/ |
H A D | HtmlUtil.java | 51 public static void printException(Throwable e, PrintWriter out) { argument 53 out.println("Following exception occurred :<br>"); 54 out.println(e.getMessage() + "<br>"); 56 out.println(element.toString() + "<br>"); 59 public static void printHR(PrintWriter out){ argument 60 out.println("<hr>");
|
H A D | TablesUtil.java | 55 public static void createTables(DataSource ds1, PrintWriter out, String tableName, String columnName) { argument 65 HtmlUtil.printException(e, out); 72 HtmlUtil.printException(e, out); 80 HtmlUtil.printException(e, out); 85 public static void deleteTables(DataSource ds1, PrintWriter out, String tableName) { argument 94 HtmlUtil.printException(e, out); 101 HtmlUtil.printException(e, out); 109 HtmlUtil.printException(e, out); 114 public static boolean verifyTableContent(DataSource ds1, PrintWriter out, String tableName, String columnName, String content) { argument 130 HtmlUtil.printException(e, out); [all...] |
/glassfish-3.1.2/tests/quicklook/jdbc/jdbcusertx/src/java/test/ |
H A D | SimpleTest.java | 57 Map<String,Boolean> runTest(DataSource ds, PrintWriter out); argument
|
H A D | LeakTest.java | 64 public Map<String, Boolean> runTest(DataSource ds1, PrintWriter out) { argument 66 if (checkForNoLeak(ds1, out)) { 78 private boolean checkForNoLeak(DataSource ds1, PrintWriter out) { argument 83 HtmlUtil.printHR(out); 84 out.println("<h4> no leak test </h4>"); 89 out.println("able to retrieve all 32 connections<br>"); 92 HtmlUtil.printException(e, out); 107 HtmlUtil.printException(e, out); 109 HtmlUtil.printHR(out);
|
H A D | UserTxTest.java | 67 public Map<String, Boolean> runTest(DataSource ds1, PrintWriter out) { argument 69 if (testUserTxWithRollback(ds1, out)) { 79 if (testUserTxWithCommit(ds1, out)) { 92 private boolean testUserTxWithRollback(DataSource ds1, PrintWriter out) throws SystemException { argument 102 TablesUtil.createTables(ds1, out, tableName, columnName); 104 HtmlUtil.printHR(out); 105 out.println("<h4> user-tx-rollback test </h4>"); 110 out.println("<br>Able to lookup UserTransaction"); 112 out.println("<br>"); 113 out 166 testUserTxWithCommit(DataSource ds1, PrintWriter out) argument [all...] |
/glassfish-3.1.2/tests/quicklook/jdbc/jdbcusertx/src/java/util/ |
H A D | HtmlUtil.java | 51 public static void printException(Throwable e, PrintWriter out) { argument 53 out.println("Following exception occurred :<br>"); 54 out.println(e.getMessage() + "<br>"); 56 out.println(element.toString() + "<br>"); 59 public static void printHR(PrintWriter out){ argument 60 out.println("<hr>");
|
/glassfish-3.1.2/tests/embedded/maven-plugin/secureWebApp/src/main/java/test/ |
H A D | SecureWebAppTestServlet.java | 61 PrintWriter out = httpServletResponse.getWriter(); 63 print("\n[OUTPUT from SecureWebAppTestServlet]", out); 64 print("[Hi from SecureWebAppTestServlet]", out); 67 print("[System property org.glassfish.embedded.greeting = " + sysProp + "]", out); 76 System.getProperty("ANTLR_USE_DIRECT_CLASS_LOADING") + "]", out); 82 print("[End of OUTPUT from SecureWebAppTestServlet]", out); 84 out.flush(); 85 out.close(); 88 private void print(String msg, PrintWriter out) { argument 89 out [all...] |
/glassfish-3.1.2/tests/jbi/soapfault/se_consumer/webclient/client/ |
H A D | Client.java | 63 PrintWriter out=null; 65 System.out.println(" Service is :" + service); 67 out = resp.getWriter(); 70 printFailure(out); 74 printSuccess(out); 77 if(out != null) { 78 out.flush(); 79 out.close(); 84 public void printFailure(PrintWriter out) { argument 85 if(out 98 printSuccess(PrintWriter out) argument [all...] |
/glassfish-3.1.2/tests/jbi/soapfault/se_consumerNprovider/webclient/client/ |
H A D | Client.java | 63 PrintWriter out=null; 65 System.out.println(" Service is :" + service); 67 out = resp.getWriter(); 70 printFailure(out); 73 printSuccess(out); 75 if(out != null) { 76 out.flush(); 77 out.close(); 82 public void printFailure(PrintWriter out) { argument 83 if(out 96 printSuccess(PrintWriter out) argument [all...] |
/glassfish-3.1.2/tests/quicklook/bean-validator/simple-bv-servlet/src/java/simple_bv_servlet/ |
H A D | SimpleBVServlet.java | 61 PrintWriter out = resp.getWriter(); 63 out.print("<html><head><title>SimpleBVServlet</title></head><body>"); 69 out.print("<p>"); 70 out.print("Obtained ValidatorFactory: " + validatorFactory + "."); 71 out.print("</p>"); 76 out.print("<h1>"); 77 out.print("Validating person class using validateValue with valid property"); 78 out.print("</h1>"); 88 printConstraintViolations(out, violations, "case1"); 90 out 128 printConstraintViolations(PrintWriter out, Set<ConstraintViolation<Person>> violations, String caseId) argument [all...] |
/glassfish-3.1.2/common/glassfish-naming/src/main/java/com/sun/enterprise/naming/util/ |
H A D | NonOSGiObjectInputOutputStreamFactoryImpl.java | 58 public ObjectOutputStream createObjectOutputStream(OutputStream out) argument 61 return new ObjectOutputStream(out); 70 public void annotateClass(ObjectOutputStream out, Class<?> cl) throws IOException argument
|
H A D | ObjectInputOutputStreamFactory.java | 51 ObjectOutputStream createObjectOutputStream(OutputStream out) throws IOException; argument 57 public void annotateClass(ObjectOutputStream out, Class<?> cl) throws IOException; argument
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/ |
H A D | DescriptorArchivist.java | 79 WritableArchive out) throws IOException { 83 write((BundleDescriptor)aModule.getDescriptor(), moduleArchivist, in, out); 87 // let's start by writing out all submodules deployment descriptors 102 OutputStream os = out.putNextEntry(ddPath); 104 out.closeEntry(); 112 OutputStream os = out.putNextEntry(ddPath); 114 out.closeEntry(); 117 moduleArchivist.copyAnEntry(in, out, ddPath); 120 moduleArchivist.copyAnEntry(in, out, ddPath); 127 OutputStream os = out 78 write(Application application, ReadableArchive in, WritableArchive out) argument 158 write(BundleDescriptor bundle, ReadableArchive in, WritableArchive out) argument 172 write(BundleDescriptor bundle, Archivist archivist, ReadableArchive in, WritableArchive out) argument [all...] |
/glassfish-3.1.2/tests/embedded/cdi_ejb_jpa/src/main/java/org/glassfish/tests/embedded/cdi_ejb_jpa/ |
H A D | BasicCDITestServlet.java | 75 PrintWriter out = httpServletResponse.getWriter(); 76 out.println("Hi from BasicCDITestServlet"); 78 out.println("TestBean not injected."); 80 out.println("TestRequestScopeBean not injected."); 82 out.println("TestBean injected. [" + testBean + "]"); 83 out.println("TestRequestScopeBean injected. [ " + trsb + "]"); 84 out.println("All CDI beans have been injected."); 86 invokeTestBean(out); 87 out.flush(); 88 out 91 invokeTestBean(PrintWriter out) argument [all...] |
/glassfish-3.1.2/tests/embedded/glassfish_resources_xml/src/main/java/org/glassfish/tests/embedded/cdi_ejb_jpa/ |
H A D | BasicCDITestServlet.java | 64 PrintWriter out = httpServletResponse.getWriter(); 65 out.println("Hi from BasicCDITestServlet"); 67 out.println("TestBean not injected."); 69 out.println("TestRequestScopeBean not injected."); 71 out.println("TestBean injected. [" + testBean + "]"); 72 out.println("TestRequestScopeBean injected. [ " + trsb + "]"); 73 out.println("All CDI beans have been injected."); 75 invokeTestBean(out); 76 out.flush(); 77 out 80 invokeTestBean(PrintWriter out) argument [all...] |
/glassfish-3.1.2/tests/embedded/maven-plugin/jsptest/src/main/java/org/glassfish/tests/embedded/jsptest/ |
H A D | JspTestServlet.java | 61 PrintWriter out = httpServletResponse.getWriter(); 63 print("\n[OUTPUT from JspTestServlet]", out); 64 print("[Hi from JspTestServlet]", out); 65 print("[End of OUTPUT from SecureWebAppTestServlet]", out); 67 out.flush(); 68 out.close(); 71 private void print(String msg, PrintWriter out) { argument 72 out.println(msg); 73 System.out.println(msg);
|
/glassfish-3.1.2/tests/jbi/bare_doc_literal/se_consumer_se_provider/webclient/client/ |
H A D | Client.java | 64 PrintWriter out=null; 66 System.out.println(" Service is :" + service); 68 out = resp.getWriter(); 72 printSuccess("SUCCESS :: Sum of 505 and 50 is : ", out,k); 77 printFailure(out, e.getMessage()); 79 if(out != null) { 80 out.flush(); 81 out.close(); 86 public void printFailure(PrintWriter out, String errMsg) { argument 87 if(out 100 printSuccess(String message, PrintWriter out, long result) argument 106 printSuccess(String message, PrintWriter out, String result) argument [all...] |
/glassfish-3.1.2/tests/jbi/rpc_literal/se_consumer_se_provider/bundled_wsdl/webclient/client/ |
H A D | Client.java | 65 PrintWriter out=null; 67 System.out.println(" Service is :" + service); 69 out = resp.getWriter(); 96 printSuccess("Your income tax is : Rs ", out,ret, timeTaken); 100 printSuccess("Sum of 505 and 50 is : ", out,k, timeTaken); 105 printSuccess("Output from webservice : ", out, hi, timeTaken); 110 printSuccess("SUCCESS : ", out, "Webservice has successfully printed hi in server.log", timeTaken); 115 printSuccess("SUCCESS : ", out, "Webservice has successfully printed hi to me in server.log", timeTaken); 119 printFailure(out, e.getMessage()); 121 if(out ! 128 printFailure(PrintWriter out, String errMsg) argument 142 printSuccess(String message, PrintWriter out, long result, long timeTaken) argument 149 printSuccess(String message, PrintWriter out, String result, long timeTaken) argument [all...] |
/glassfish-3.1.2/tests/jbi/rpc_literal/se_consumer_se_provider/generated_wsdl/webclient/client/ |
H A D | Client.java | 65 PrintWriter out=null; 67 System.out.println(" Service is :" + service); 69 out = resp.getWriter(); 96 printSuccess("Your income tax is : Rs ", out,ret, timeTaken); 100 printSuccess("Sum of 505 and 50 is : ", out,k, timeTaken); 105 printSuccess("Output from webservice : ", out, hi, timeTaken); 110 printSuccess("SUCCESS : ", out, "Webservice has successfully printed hi in server.log", timeTaken); 115 printSuccess("SUCCESS : ", out, "Webservice has successfully printed hi to me in server.log", timeTaken); 119 printFailure(out, e.getMessage()); 121 if(out ! 128 printFailure(PrintWriter out, String errMsg) argument 142 printSuccess(String message, PrintWriter out, long result, long timeTaken) argument 149 printSuccess(String message, PrintWriter out, String result, long timeTaken) argument [all...] |
/glassfish-3.1.2/tests/jbi/service_unit/add-numbers/webclient/client/ |
H A D | Client.java | 57 System.out.println("In client doGet "); 63 System.out.println("In client doPost "); 64 PrintWriter out=null; 66 System.out.println(" Service is :" + service); 68 out = resp.getWriter(); 71 printSuccess(out,ret); 74 printFailure(out, e.getMessage()); 76 if(out != null) { 77 out.flush(); 78 out 83 printFailure(PrintWriter out, String errMsg) argument 97 printSuccess(PrintWriter out, int result) argument [all...] |
/glassfish-3.1.2/tests/jbi/service_unit/endpoint_mapping/webclient/client/ |
H A D | Client.java | 63 PrintWriter out=null; 65 System.out.println(" Service is :" + service); 67 out = resp.getWriter(); 70 printSuccess(out,ret); 73 printFailure(out, e.getMessage()); 75 if(out != null) { 76 out.flush(); 77 out.close(); 82 public void printFailure(PrintWriter out, String errMsg) { argument 83 if(out 96 printSuccess(PrintWriter out, int result) argument [all...] |
/glassfish-3.1.2/tests/quicklook/bean-validator/integration-test-servlet/src/java/integration_test_servlet/ |
H A D | BVIntegrationTestServlet.java | 86 PrintWriter out = resp.getWriter(); 88 out.print("<html><head><title>SimpleBVServlet</title></head><body>"); 92 out.print("<h1>"); 93 out.print("Validating person class using validateValue with valid property"); 94 out.print("</h1>"); 104 printConstraintViolations(out, violations, "case1"); 106 out.print("<h1>"); 107 out.print("Validating person class using validateValue with invalid property"); 108 out.print("</h1>"); 114 out 144 printConstraintViolations(PrintWriter out, Set<ConstraintViolation<Person>> violations, String caseId) argument [all...] |