orc.orchard.soap
Class CompilerService

java.lang.Object
  extended by orc.orchard.AbstractCompilerService
      extended by orc.orchard.soap.CompilerService
All Implemented Interfaces:
java.rmi.Remote, CompilerServiceInterface

public class CompilerService
extends AbstractCompilerService

HACK: We must explicitly declare every published web method in this class, we can't simply inherit them, for the following reasons:

Author:
quark

Field Summary
 
Fields inherited from class orc.orchard.AbstractCompilerService
logger
 
Constructor Summary
CompilerService()
          Construct a service to run in an existing servlet context.
 
Method Summary
 Oil compile(java.lang.String devKey, java.lang.String program)
          Do-nothing override
static void main(java.lang.String[] args)
           
 
Methods inherited from class orc.orchard.AbstractCompilerService
getDefaultLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilerService

public CompilerService()
Construct a service to run in an existing servlet context.

Method Detail

main

public static void main(java.lang.String[] args)

compile

public Oil compile(java.lang.String devKey,
                   java.lang.String program)
            throws InvalidProgramException
Do-nothing override

Specified by:
compile in interface CompilerServiceInterface
Overrides:
compile in class AbstractCompilerService
Returns:
compiled program
Throws:
InvalidProgramException - in case of compilation error.