Package org.jboss.dashboard.profiler

Examples of org.jboss.dashboard.profiler.CodeBlockTrace.end()


            int range = sourceDataSet.getPropertyColumn(rangeProperty);
            int[] columns = new int[] {pivot, range};
            String[] functionCodes = new String[] {CountFunction.CODE, scalarFunction.getCode()};
            return sourceDataSet.groupBy(domainProperty, columns, functionCodes, intervalsSortCriteria, intervalsSortOrder);
        } finally {
            trace.end();
        }
    }

    public void copyFrom(DataDisplayer sourceDisplayer) {
        try {
View Full Code Here


                    return m.invoke(conn, args);
                } catch (Throwable e) {
                    ErrorManager.lookup().notifyError(e, true);
                    throw e;
                } finally {
                    trace.end();
                }
            }
            // Capture rollback.
            if (m.getName().equals("rollback")) {
                CodeBlockTrace trace = new SQLStatementTrace("rollback").begin();
View Full Code Here

                    return m.invoke(conn, args);
                } catch (Throwable e) {
                    ErrorManager.lookup().notifyError(e, true);
                    throw e;
                } finally {
                    trace.end();
                }
            }
            // Capture Statement creation.
            Object result = m.invoke(conn, args);
            if (m.getReturnType() != null) {
View Full Code Here

                    return m.invoke(stmt, args);
                } catch (Throwable e) {
                    ErrorManager.lookup().notifyError(e, true);
                    throw e;
                } finally {
                    trace.end();
                }
            } else {
                return m.invoke(stmt, args);
            }
        }
View Full Code Here

                    return m.invoke(stmt, args);
                } catch (Throwable e) {
                    ErrorManager.lookup().notifyError(e, true);
                    throw e;
                } finally {
                    trace.end();
                }
            } else {
                return m.invoke(stmt, args);
            }
        }
View Full Code Here

        try {
            pageContext.include(page);
        } catch (Throwable t) {
            handleError(t);
        } finally {
            trace.end();
        }
    }

    protected void handleError(Throwable t) {
        ErrorReport errorReport = ErrorManager.lookup().notifyError(t, true);
View Full Code Here

                pageContext.getOut().println("<span class=\"skn-error\"><pre>" + errorStr + "</pre></span>");
            } catch (Throwable t2) {
                log.error("Cannot print a JSP error message.", t2);
            }
        } finally {
            trace.end();
        }
    }

    /**
     * The JSPInclude tag profiling trace.
View Full Code Here

            uiBean.afterRenderBean();
        } catch (Exception e) {
            handleError(e);
        } finally {
            pageContext.getRequest().setAttribute(CURRENT_BEAN, previousComponent);
            trace.end();
        }
        return EVAL_PAGE;
    }

View Full Code Here

            if (dataSetHolder.filteredDataSet != null) {
                ((DataProviderImpl)dataProvider).deserializeDataProperties(dataSetHolder.filteredDataSet);
            }
            return dataSetHolder.getDataSet();
        } finally {
            trace.end();
        }
    }

    // Internal stuff
View Full Code Here

            DataSet dataSet = dataProvider.getDataLoader().load(dataProvider);
            dataSet.setDataProvider(dataProvider);
            ((DataProviderImpl)dataProvider).deserializeDataProperties(dataSet);
            return dataSet;
        } finally {
            trace.end();
        }
    }

    protected Map createDataProviderContext(DataProvider dataProvider) {
        Map m = new HashMap();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.