org.apache.jasper.compiler

Class 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.
Authors:
Cocoon2
Remy Maucherat

Field Summary

Fields inherited from class org.apache.jasper.compiler.Compiler

ctxt, errDispatcher, jsw, log, options, pageInfo, pageNodes, tfp

Method Summary

protected void
generateClass(String[] smap)
Compile the servlet from .java file to .class file

Methods inherited from class org.apache.jasper.compiler.Compiler

compile, compile, compile, generateClass, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getPageNodes, init, isOutDated, isOutDated, removeGeneratedClassFiles, removeGeneratedFiles

Method Details

generateClass

protected void generateClass(String[] smap)
            throws FileNotFoundException,
                   JasperException,
                   Exception
Compile the servlet from .java file to .class file
Overrides:
generateClass in interface Compiler

Copyright B) 2000-2004 Apache Software Foundation. All Rights Reserved.