Package org.apache.jasper.compiler
Class JDTCompiler
- java.lang.Object
- 
- org.apache.jasper.compiler.Compiler
- 
- org.apache.jasper.compiler.JDTCompiler
 
 
- 
 public class JDTCompiler extends Compiler JDT class compiler. This compiler will load source dependencies from the context classloader, reducing dramatically disk access during the compilation process. Based on code from Cocoon2.- Author:
- Remy Maucherat
 
- 
- 
Constructor SummaryConstructors Constructor Description JDTCompiler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgenerateClass(java.lang.String[] smap)Compile the servlet from .java file to .class file- 
Methods inherited from class org.apache.jasper.compiler.Compilercompile, compile, compile, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getPageNodes, init, isOutDated, isOutDated, removeGeneratedClassFiles, removeGeneratedFiles
 
- 
 
- 
- 
- 
Method Detail- 
generateClassprotected void generateClass(java.lang.String[] smap) throws java.io.FileNotFoundException, JasperException, java.lang.ExceptionCompile the servlet from .java file to .class file- Specified by:
- generateClassin class- Compiler
- Parameters:
- smap- The SMAP files for source debugging
- Throws:
- java.io.FileNotFoundException- Source files not found
- JasperException- Compilation error
- java.lang.Exception- Some other error
 
 
- 
 
-