janino.net

org.codehaus.commons.compiler
Interface ICompilerFactory

All Known Implementing Classes:
AbstractCompilerFactory, CompilerFactory, CompilerFactory

public interface ICompilerFactory

An entity that produces implementations of IExpressionEvaluator, IScriptEvaluator, IClassBodyEvaluator, ISimpleCompiler or AbstractJavaSourceClassLoader.

Implementations of this interface are, e.g. 'org.codehaus.janino' or 'org.codehaus.commons.compiler.jdk'.


Method Summary
  getId()
           
  getImplementationVersion()
           
 IClassBodyEvaluator newClassBodyEvaluator()
           
 IExpressionEvaluator newExpressionEvaluator()
           
 AbstractJavaSourceClassLoader newJavaSourceClassLoader()
           
 AbstractJavaSourceClassLoader newJavaSourceClassLoader( parentClassLoader)
           
 IScriptEvaluator newScriptEvaluator()
           
 ISimpleCompiler newSimpleCompiler()
           
  toString()
           
 

Method Detail

getId

 getId()
Returns:
A which uniquely identifies the concrete implementation of this interface, e.g. "org.codehaus.janino" or "org.codehaus.commons.compiler.jdk"

toString

 toString()
Overrides:
in class
Returns:
A human-readable that identifies the concrete implementation of this interface in a user interface, e.g. "janino" or "jdk"

getImplementationVersion

 getImplementationVersion()
Returns:
The version of this implementation of the commons-compiler specification, or null

newExpressionEvaluator

IExpressionEvaluator newExpressionEvaluator()
Throws:
- The underlying implementation does not implement an IExpressionEvaluator
See Also:
IExpressionEvaluator

newScriptEvaluator

IScriptEvaluator newScriptEvaluator()
Throws:
- The underlying implementation does not implement an IScriptEvaluator
See Also:
IScriptEvaluator

newClassBodyEvaluator

IClassBodyEvaluator newClassBodyEvaluator()
Throws:
- The underlying implementation does not implement an IClassBodyEvaluator
See Also:
IClassBodyEvaluator

newSimpleCompiler

ISimpleCompiler newSimpleCompiler()
Throws:
- The underlying implementation does not implement an ISimpleCompiler
See Also:
ISimpleCompiler

newJavaSourceClassLoader

AbstractJavaSourceClassLoader newJavaSourceClassLoader()
Throws:
- The underlying implementation does not implement an AbstractJavaSourceClassLoader
See Also:
AbstractJavaSourceClassLoader

newJavaSourceClassLoader

AbstractJavaSourceClassLoader newJavaSourceClassLoader( parentClassLoader)
Throws:
- The underlying implementation does not implement an AbstractJavaSourceClassLoader
See Also:
AbstractJavaSourceClassLoader

janino.net