Package org.jboss.profiler.engine

Examples of org.jboss.profiler.engine.LogFileEngine


            totalLength += files[i].length();
         }
         out.flush();

         SpyReader reader = new SpyReader(mainStream.inputStream,paramStreams);
         LogFileEngine engine = new LogFileEngine(reader);
         ProcessListener listener = new ProcessListener(mainStream, holders, out, totalLength);
         engine.addRunnerEventListener(listener);
         engine.setOutputDirectory(fileDirectory);
         engine.setProcessStackOnObjects(objectsStack);
         engine.setProcessStackOnMethods(methodStack);
         engine.setUseIteractionsOnOutput(useIteractionsOnOutput);
         engine.setProcessReleaseOnObjects(processReleaseObjects);

        String methodSignature = request.getParameter("methodSignature");
        if (methodSignature!=null && methodSignature.trim().length()>0) {
            engine.addDetailMethod(methodSignature); // voltar
        }



        if (detailedOutput) System.out.println("using detailedOutput");
         engine.doProcess(detailedOutput,pid); // nao gera output com os arquivos html.gz
         form.setJbpProcess(engine.getProcess());
         for (int i=0;i<paramStreams.length;i++) {
            paramStreams[i].close();
         }
         mainStream.inputStream.close();
         out.println("<br><b><font size=6>Process Finished.... <a href=\"./processMethods.jsp\">click here</a></font></b>");
View Full Code Here

TOP

Related Classes of org.jboss.profiler.engine.LogFileEngine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.