org.inxar.hotswap
Class JavacCompiler
java.lang.Object
|
+--org.inxar.hotswap.ProxyCompiler
|
+--org.inxar.hotswap.JavacCompiler
- All Implemented Interfaces:
- org.inxar.hotswap.PriorityQueue.Listener
- public class JavacCompiler
- extends ProxyCompiler
Concrete ProxyCompiler
implementation that interfaces
with sun.tools.javac.Main
(requires
tools.jar
in the classpath).
- Since:
- 0.8.2, renamed in 0.8.6
Constructor Summary |
JavacCompiler()
Constructs a new ProxyCompiler . |
Methods inherited from class org.inxar.hotswap.ProxyCompiler |
addCompileListener, getClassfile, getClasspath, getDestinationpath, getOptions, getSourcefile, getSourcepath, getStatus, queue_notify, removeCompileListener, setDestinationpath, setProxyClassLoader, setSourcepath |
JavacCompiler
public JavacCompiler()
- Constructs a new
ProxyCompiler
.
initialize
public boolean initialize(Properties p)
- Description copied from class:
ProxyCompiler
- Initializes the
ProxyCompiler
instance from the
given Properties
. If initialization was
unsuccessful, return false
.
- Overrides:
initialize
in class ProxyCompiler
compile
public ProxyCompileEvent compile(ProxyClass cls)
- Description copied from class:
ProxyCompiler
- Compiles the class associated with the given
ProxyClass
.
- Overrides:
compile
in class ProxyCompiler