public abstract class JRAbstractJavaCompiler extends JRAbstractCompiler
Modifier and Type | Field and Description |
---|---|
static java.lang.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.
|
COMPILER_PREFIX
Modifier | Constructor and Description |
---|---|
protected |
JRAbstractJavaCompiler(boolean needsSourceFiles) |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.Object |
classCacheKey() |
protected static java.lang.Class |
getClassFromCache(java.lang.String className) |
protected JREvaluator |
loadEvaluator(java.io.Serializable compileData,
java.lang.String className)
Creates an expression evaluator instance from data saved when the report was compiled.
|
protected static void |
putClassInCache(java.lang.String className,
java.lang.Class loadedClass) |
checkLanguage, compileReport, compileUnits, generateSourceCode, getCompilerClass, getSourceFileName, getUnitName, getUnitName, getUnitName, getUnitName, getUnitName, loadEvaluator, loadEvaluator, loadEvaluator
public static final java.lang.String PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED
protected JRAbstractJavaCompiler(boolean needsSourceFiles)
protected JREvaluator loadEvaluator(java.io.Serializable compileData, java.lang.String className) throws JRException
JRAbstractCompiler
loadEvaluator
in class JRAbstractCompiler
compileData
- the data saved when the report was compiledclassName
- the evaluator unit nameJRException
protected static java.lang.Object classCacheKey()
protected static java.lang.Class getClassFromCache(java.lang.String className)
protected static void putClassInCache(java.lang.String className, java.lang.Class loadedClass)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com