public abstract class JRAbstractJavaCompiler extends JRAbstractCompiler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXCEPTION_MESSAGE_KEY_EXPECTED_JAVA_LANGUAGE |
static java.lang.String |
EXCEPTION_MESSAGE_KEY_EXPRESSION_CLASS_NOT_LOADED |
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.
|
EXCEPTION_MESSAGE_KEY_CROSSTAB_ID_NOT_FOUND, EXCEPTION_MESSAGE_KEY_DESIGN_COMPILE_ERROR, EXCEPTION_MESSAGE_KEY_LANGUAGE_NOT_SUPPORTED, EXCEPTION_MESSAGE_KEY_REPORT_EXPRESSIONS_COMPILE_ERROR, EXCEPTION_MESSAGE_KEY_TEMP_DIR_NOT_FOUND, jasperReportsContext
COMPILER_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 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, getSourceFile, getSourceFileName, getUnitName, getUnitName, getUnitName, getUnitName, getUnitName, loadEvaluator, loadEvaluator, loadEvaluator
public static final java.lang.String PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED
public static final java.lang.String EXCEPTION_MESSAGE_KEY_EXPECTED_JAVA_LANGUAGE
public static final java.lang.String EXCEPTION_MESSAGE_KEY_EXPRESSION_CLASS_NOT_LOADED
protected JRAbstractJavaCompiler(JasperReportsContext jasperReportsContext, boolean needsSourceFiles)
protected JRAbstractJavaCompiler(boolean needsSourceFiles)
JRAbstractJavaCompiler(JasperReportsContext, boolean)
.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-2014 TIBCO Software Inc. www.jaspersoft.com