/** * @return the result of the parse operation (a DOM) * @throws Exception if an error occurs during the parsing process */ public Document call() throws Exception { try { Timer timer = Timer.getInstance(); if (timer != null) { timer.startTiming(); } Document d = getDocument(); if (timer != null) { timer.stopTiming(); timer.logResult("Parse " + documentURL.toExternalForm()); } return d; } catch (Exception e) { throw new ConfigurationException(MessageFormat.format( "Unable to parse document ''{0}'': {1}", documentURL.toExternalForm(), e.getMessage()), e); } }
/** * @return the result of the parse operation (a DOM) * @throws Exception if an error occurs during the parsing process */ public DocumentInfo call() throws Exception { try { Timer timer = Timer.getInstance(); if (timer != null) { timer.startTiming(); } Document d = getDocument(); if (timer != null) { timer.stopTiming(); timer.logResult("Parse " + documentURI.toURL().toExternalForm()); } return new DocumentInfo(d, documentURI); } catch (Exception e) { throw new ConfigurationException(MessageFormat.format( "Unable to parse document ''{0}'': {1}", documentURI.toURL().toExternalForm(), e.getMessage()), e); } }
/** * @return the result of the parse operation (a DOM) * @throws Exception * if an error occurs during the parsing process */ @Override public DocumentInfo call() throws Exception { try { Timer timer = Timer.getInstance(); if (timer != null) { timer.startTiming(); } Document document = getDocument(); if (timer != null) { timer.stopTiming(); timer.logResult("Parse " + documentURI.toURL().toExternalForm()); } return new DocumentInfo(document, documentURI); } catch (Exception e) { throw new ConfigurationException( format("Unable to parse document ''{0}'': {1}", documentURI.toURL().toExternalForm(), e.getMessage()), e); } }
/** * @return the result of the parse operation (a DOM) * @throws Exception * if an error occurs during the parsing process */ @Override public DocumentInfo call() throws Exception { try { Timer timer = Timer.getInstance(); if (timer != null) { timer.startTiming(); } Document document = getDocument(); if (timer != null) { timer.stopTiming(); timer.logResult("Parse " + documentURI.toURL().toExternalForm()); } return new DocumentInfo(document, documentURI); } catch (Exception e) { throw new ConfigurationException( format("Unable to parse document ''{0}'': {1}", documentURI.toURL().toExternalForm(), e.getMessage()), e); } }
/** * @return the result of the parse operation (a DOM) * @throws Exception * if an error occurs during the parsing process */ @Override public DocumentInfo call() throws Exception { try { Timer timer = Timer.getInstance(); if (timer != null) { timer.startTiming(); } Document document = getDocument(); if (timer != null) { timer.stopTiming(); timer.logResult("Parse " + documentURI.toURL().toExternalForm()); } return new DocumentInfo(document, documentURI); } catch (Exception e) { throw new ConfigurationException( format("Unable to parse document ''{0}'': {1}", documentURI.toURL().toExternalForm(), e.getMessage()), e); } }
t.logResult("Configuration annotation scan complete.");
timer.logResult("Initialization of context " + getServletContextIdentifier(context));
timer.logResult( "Execution time for phase (including any PhaseListeners) -> " + this.getId().toString());
t.logResult("Configuration annotation scan complete.");
t.logResult("Configuration annotation scan complete.");
t.logResult("Configuration annotation scan complete.");
timer.logResult("Initialization of context " + getServletContextIdentifier(context));
t.logResult("\"faces-config\" document sorting complete in " + numberOfPasses + '.');
t.logResult("\"faces-config\" document sorting complete in " + numberOfPasses + '.');
t.logResult("\"faces-config\" document sorting complete in " + numberOfPasses + '.');
t.logResult("\"faces-config\" document sorting complete in " + numberOfPasses + '.');
timer.logResult( "Execution time for phase (including any PhaseListeners) -> " + this.getId().toString());
timer.logResult( "Execution time for phase (including any PhaseListeners) -> " + this.getId().toString());
timer.logResult( "Execution time for phase (including any PhaseListeners) -> " + this.getId().toString());
timer.logResult( "Execution time for phase (including any PhaseListeners) -> " + this.getId().toString());