Class JDTCompiler
java.lang.Object
org.apache.sling.scripting.jsp.jasper.compiler.Compiler
org.apache.sling.scripting.jsp.jasper.compiler.JDTCompiler
JDT class compiler. This compiler will load source dependencies from the
context classloader, reducing dramatically disk access during
the compilation process.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
generateClass
(String[] smap) Compile the servlet from .java file to .class fileMethods inherited from class org.apache.sling.scripting.jsp.jasper.compiler.Compiler
clean, compile, compile, compile, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getPageNodes, removeGeneratedClassFiles, removeGeneratedFiles
-
Constructor Details
-
JDTCompiler
-
-
Method Details
-
generateClass
protected void generateClass(String[] smap) throws FileNotFoundException, JasperException, Exception Compile the servlet from .java file to .class file- Specified by:
generateClass
in classCompiler
- Throws:
FileNotFoundException
JasperException
Exception
-