orc.orchard
Class AbstractCompilerService
java.lang.Object
orc.orchard.AbstractCompilerService
- All Implemented Interfaces:
- java.rmi.Remote, CompilerServiceInterface
- Direct Known Subclasses:
- CompilerService, CompilerService, CompilerService
public abstract class AbstractCompilerService
- extends java.lang.Object
- implements CompilerServiceInterface
Implementation of a compiler service.
- Author:
- quark
Field Summary |
protected java.util.logging.Logger |
logger
|
Method Summary |
Oil |
compile(java.lang.String devKey,
java.lang.String program)
Compile program text. |
protected static java.util.logging.Logger |
getDefaultLogger()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected java.util.logging.Logger logger
AbstractCompilerService
protected AbstractCompilerService(java.util.logging.Logger logger)
AbstractCompilerService
protected AbstractCompilerService()
compile
public Oil compile(java.lang.String devKey,
java.lang.String program)
throws InvalidProgramException
- Description copied from interface:
CompilerServiceInterface
- Compile program text.
- Specified by:
compile
in interface CompilerServiceInterface
- Returns:
- compiled program
- Throws:
InvalidProgramException
- in case of compilation error.
getDefaultLogger
protected static java.util.logging.Logger getDefaultLogger()