|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.java.AbstractJavaCompiler
com.caucho.java.ExternalCompiler
public class ExternalCompiler
Compiles Java source, returning the loaded class.
Nested Class Summary | |
---|---|
static class |
ExternalCompiler.CompilerThread
|
Field Summary | |
---|---|
protected static java.util.logging.Logger |
log
|
Fields inherited from class com.caucho.java.AbstractJavaCompiler |
---|
_compiler, L |
Constructor Summary | |
---|---|
ExternalCompiler(JavaCompilerUtil compiler)
|
Method Summary | |
---|---|
void |
abort()
Aborts the compilation. |
protected void |
compileInt(java.lang.String[] paths,
LineMap lineMap)
Compile the configured file. |
void |
handleAlarm(Alarm alarm)
This callback should only occur if the compiler freezes. |
Methods inherited from class com.caucho.java.AbstractJavaCompiler |
---|
getException, isDone, notifyComplete, run, setLineMap, setPath, waitForComplete |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.util.logging.Logger log
Constructor Detail |
---|
public ExternalCompiler(JavaCompilerUtil compiler)
Method Detail |
---|
protected void compileInt(java.lang.String[] paths, LineMap lineMap) throws java.io.IOException
compileInt
in class AbstractJavaCompiler
path
- the path to the java source.lineMap
- mapping from the generated source to the original files.
java.io.IOException
public void handleAlarm(Alarm alarm)
alarm
- the alarm we've been waiting for.public void abort()
abort
in class AbstractJavaCompiler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |