Package net.sf.jasperreports.engine.fill
Class ThreadPoolSubreportRunnerFactory
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.ThreadPoolSubreportRunnerFactory
-
- All Implemented Interfaces:
JRSubreportRunnerFactory
public class ThreadPoolSubreportRunnerFactory extends Object implements JRSubreportRunnerFactory
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ThreadPoolSubreportRunnerFactory.ExecutorServiceDisposable
protected static class
ThreadPoolSubreportRunnerFactory.SubreportsThreadFactory
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.engine.fill.JRSubreportRunnerFactory
SUBREPORT_RUNNER_FACTORY
-
-
Constructor Summary
Constructors Constructor Description ThreadPoolSubreportRunnerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRSubreportRunner
createSubreportRunner(JRFillSubreport fillSubreport, JRBaseFiller subreportFiller)
Creates a newJRSubreportRunner
instance.protected ExecutorService
createThreadExecutor(JRFillContext fillContext)
-
-
-
Method Detail
-
createSubreportRunner
public JRSubreportRunner createSubreportRunner(JRFillSubreport fillSubreport, JRBaseFiller subreportFiller)
Description copied from interface:JRSubreportRunnerFactory
Creates a newJRSubreportRunner
instance.- Specified by:
createSubreportRunner
in interfaceJRSubreportRunnerFactory
- Parameters:
fillSubreport
- the subreport element of the master reportsubreportFiller
- the subreport filler created to fill the subreport- Returns:
- a new
JRSubreportRunner
instance
-
createThreadExecutor
protected ExecutorService createThreadExecutor(JRFillContext fillContext)
-
-