public abstract class JRAbstractJavaCompiler extends JRAbstractCompiler
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED
Property that indicates whether a legacy fix for a JVM issue related to
evaluator classes generated by JasperReports is enabled.
|
jasperReportsContextCOMPILER_CLASS, COMPILER_CLASSPATH, COMPILER_KEEP_JAVA_FILE, COMPILER_PREFIX, COMPILER_TEMP_DIR| Modifier | Constructor and Description |
|---|---|
protected |
JRAbstractJavaCompiler(boolean needsSourceFiles)
Deprecated.
|
protected |
JRAbstractJavaCompiler(JasperReportsContext jasperReportsContext,
boolean needsSourceFiles) |
| Modifier and Type | Method and Description |
|---|---|
protected static Object |
classCacheKey() |
protected static Class<?> |
getClassFromCache(String className) |
protected JREvaluator |
loadEvaluator(Serializable compileData,
String className)
Creates an expression evaluator instance from data saved when the report was compiled.
|
protected static void |
putClassInCache(String className,
Class<?> loadedClass) |
checkLanguage, compileReport, compileUnits, generateSourceCode, getCompilerClass, getSourceFileName, getUnitName, getUnitName, getUnitName, getUnitName, getUnitName, loadEvaluator, loadEvaluator, loadEvaluatorpublic static final String PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED
protected JRAbstractJavaCompiler(JasperReportsContext jasperReportsContext, boolean needsSourceFiles)
protected JRAbstractJavaCompiler(boolean needsSourceFiles)
JRAbstractJavaCompiler(JasperReportsContext, boolean).protected JREvaluator loadEvaluator(Serializable compileData, String className) throws JRException
JRAbstractCompilerloadEvaluator in class JRAbstractCompilercompileData - the data saved when the report was compiledclassName - the evaluator unit nameJRExceptionprotected static Object classCacheKey()
Copyright © 2012. All Rights Reserved.