Class ThreadSafeJasperScriptletManager
java.lang.Object
ch.unibas.medizin.dynamicreports.jasper.base.ThreadSafeJasperScriptletManager
- All Implemented Interfaces:
JasperScriptletManager
Thread safe implementation of
JasperScriptletManager used for filling cached reports concurrently. Note: use of this class can lead to memory leaks if the threads starting the report fill
are not terminated properly.- Version:
- 6.0.1-SNAPSHOT
- Author:
- edwin.njeru
-
Field Summary
Fields inherited from interface JasperScriptletManager
USE_THREAD_SAFE_SCRIPLET_MANAGER_PROPERTY_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for theJasperScriptletinstance.voidsetJasperScriptlet(JasperScriptlet jasperScriptlet) Setter for theJasperScriptletinstance.
-
Constructor Details
-
ThreadSafeJasperScriptletManager
public ThreadSafeJasperScriptletManager()
-
-
Method Details
-
getJasperScriptlet
Getter for theJasperScriptletinstance.- Specified by:
getJasperScriptletin interfaceJasperScriptletManager- Returns:
- the set
JasperScriptletinstance
-
setJasperScriptlet
Setter for theJasperScriptletinstance.- Specified by:
setJasperScriptletin interfaceJasperScriptletManager- Parameters:
jasperScriptlet- theJasperScriptletinstance to set
-