@Test public void testConstructionAndClose() throws ReportProcessingException { final AbstractReportProcessor reportProcessor = new DummyReportProcessor( new MasterReport() ); assertEquals( reportProcessor, ReportProcessorThreadHolder.getProcessor() ); reportProcessor.close(); assertNull( ReportProcessorThreadHolder.getProcessor() ); }
public synchronized void close() { if ( activeDataFactory != null ) { this.activeDataFactory.close(); this.activeDataFactory = null; this.stateList = null; this.physicalMapping = null; this.logicalMapping = null; } ReportProcessorThreadHolder.clear(); }
AbstractReportProcessor implements ReportProcessor { public synchronized void close() { if ( activeDataFactory != null ) { this.activeDataFactory.close(); this.activeDataFactory = null; this.stateList = null; this.physicalMapping = null; this.logicalMapping = null; } ReportProcessorThreadHolder.clear(); } }
AbstractReportProcessor implements ReportProcessor { public synchronized void close() { if ( activeDataFactory != null ) { this.activeDataFactory.close(); this.activeDataFactory = null; this.stateList = null; this.physicalMapping = null; this.logicalMapping = null; } ReportProcessorThreadHolder.clear(); } protected  AbstractReportProcessor( final MasterReport report, final OutputProcessor outputProcessor ); }
AbstractReportProcessor implements ReportProcessor { public synchronized void close() { if ( activeDataFactory != null ) { this.activeDataFactory.close(); this.activeDataFactory = null; this.stateList = null; this.physicalMapping = null; this.logicalMapping = null; } ReportProcessorThreadHolder.clear(); } protected  AbstractReportProcessor( final MasterReport report, final OutputProcessor outputProcessor ); OutputProcessor getOutputProcessor(); void addReportProgressListener( final ReportProgressListener l ); void removeReportProgressListener( final ReportProgressListener l ); boolean isHandleInterruptedState(); void setHandleInterruptedState( final boolean handleInterruptedState ); synchronized void close(); synchronized void cancel(); Configuration getConfiguration(); void setFullStreamingProcessor( final boolean fullStreamingProcessor ); boolean isFullStreamingProcessor(); boolean isPaginated(); PageState processPage( final PageState pageState, final boolean performOutput ); boolean paginate(); void processReport(); int getLogicalPageCount(); int getPhysicalPageCount(); boolean isQueryLimitReached(); void setQueryLimitReached( boolean queryLimitReached ); }
AbstractReportProcessor implements ReportProcessor { public synchronized void close() { if ( activeDataFactory != null ) { this.activeDataFactory.close(); this.activeDataFactory = null; this.stateList = null; this.physicalMapping = null; this.logicalMapping = null; } ReportProcessorThreadHolder.clear(); } protected  AbstractReportProcessor( final MasterReport report, final OutputProcessor outputProcessor ); OutputProcessor getOutputProcessor(); void addReportProgressListener( final ReportProgressListener l ); void removeReportProgressListener( final ReportProgressListener l ); boolean isHandleInterruptedState(); void setHandleInterruptedState( final boolean handleInterruptedState ); synchronized void close(); synchronized void cancel(); Configuration getConfiguration(); void setFullStreamingProcessor( final boolean fullStreamingProcessor ); boolean isFullStreamingProcessor(); boolean isPaginated(); PageState processPage( final PageState pageState, final boolean performOutput ); boolean paginate(); void processReport(); int getLogicalPageCount(); int getPhysicalPageCount(); boolean isQueryLimitReached(); void setQueryLimitReached( boolean queryLimitReached );  }