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 java.lang.Object implements JRSubreportRunnerFactory
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classThreadPoolSubreportRunnerFactory.ExecutorServiceDisposableprotected static classThreadPoolSubreportRunnerFactory.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 JRSubreportRunnercreateSubreportRunner(JRFillSubreport fillSubreport, JRBaseFiller subreportFiller)Creates a newJRSubreportRunnerinstance.protected java.util.concurrent.ExecutorServicecreateThreadExecutor(JRFillContext fillContext)
-
-
-
Method Detail
-
createSubreportRunner
public JRSubreportRunner createSubreportRunner(JRFillSubreport fillSubreport, JRBaseFiller subreportFiller)
Description copied from interface:JRSubreportRunnerFactoryCreates a newJRSubreportRunnerinstance.- Specified by:
createSubreportRunnerin interfaceJRSubreportRunnerFactory- Parameters:
fillSubreport- the subreport element of the master reportsubreportFiller- the subreport filler created to fill the subreport- Returns:
- a new
JRSubreportRunnerinstance
-
createThreadExecutor
protected java.util.concurrent.ExecutorService createThreadExecutor(JRFillContext fillContext)
-
-