org.apache.jasper.compiler
Class JCICompiler

java.lang.Object
  extended by org.apache.jasper.compiler.Compiler
      extended by org.apache.jasper.compiler.JCICompiler

public class JCICompiler
extends Compiler

JDT class compiler. This compiler will load source dependencies from the context classloader, reducing dramatically disk access during the compilation process.

Author:
Cocoon2, Remy Maucherat

Field Summary
 
Fields inherited from class org.apache.jasper.compiler.Compiler
ctxt, errDispatcher, jsw, log, options, pageInfo, pageNodes, tfp
 
Constructor Summary
JCICompiler()
           
 
Method Summary
protected  void generateClass(java.lang.String[] smap)
          Compile the servlet from .java file to .class file
 
Methods inherited from class org.apache.jasper.compiler.Compiler
compile, compile, compile, generateJava, getCompilationContext, getErrorDispatcher, getPageInfo, getPageNodes, init, isOutDated, isOutDated, removeGeneratedClassFiles, removeGeneratedFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCICompiler

public JCICompiler()
Method Detail

generateClass

protected void generateClass(java.lang.String[] smap)
                      throws java.io.FileNotFoundException,
                             JasperException,
                             java.lang.Exception
Compile the servlet from .java file to .class file

Specified by:
generateClass in class Compiler
Throws:
java.io.FileNotFoundException
JasperException
java.lang.Exception


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.