Package org.codehaus.commons.compiler
Class AbstractCompilerFactory
- java.lang.Object
-
- org.codehaus.commons.compiler.AbstractCompilerFactory
-
- All Implemented Interfaces:
ICompilerFactory
- Direct Known Subclasses:
CompilerFactory,CompilerFactory
public abstract class AbstractCompilerFactory extends java.lang.Object implements ICompilerFactory
Base class for a simpleICompilerFactory.
-
-
Constructor Summary
Constructors Constructor Description AbstractCompilerFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.StringgetId()abstract java.lang.StringgetImplementationVersion()IClassBodyEvaluatornewClassBodyEvaluator()IExpressionEvaluatornewExpressionEvaluator()AbstractJavaSourceClassLoadernewJavaSourceClassLoader()AbstractJavaSourceClassLoadernewJavaSourceClassLoader(java.lang.ClassLoader parentClassLoader)IScriptEvaluatornewScriptEvaluator()ISimpleCompilernewSimpleCompiler()
-
-
-
Method Detail
-
getId
public abstract java.lang.String getId()
- Specified by:
getIdin interfaceICompilerFactory- Returns:
- A
Stringthat identifies the concrete implementation of this interface, e.g. 'org.codehaus.janino' or 'org.codehaus.commons.compiler.jdk'
-
getImplementationVersion
public abstract java.lang.String getImplementationVersion()
- Specified by:
getImplementationVersionin interfaceICompilerFactory- Returns:
- The version of this implementation of the commons-compiler specification, or
null
-
newExpressionEvaluator
public IExpressionEvaluator newExpressionEvaluator()
- Specified by:
newExpressionEvaluatorin interfaceICompilerFactory- See Also:
IExpressionEvaluator
-
newScriptEvaluator
public IScriptEvaluator newScriptEvaluator()
- Specified by:
newScriptEvaluatorin interfaceICompilerFactory- See Also:
IScriptEvaluator
-
newClassBodyEvaluator
public IClassBodyEvaluator newClassBodyEvaluator()
- Specified by:
newClassBodyEvaluatorin interfaceICompilerFactory- See Also:
IClassBodyEvaluator
-
newSimpleCompiler
public ISimpleCompiler newSimpleCompiler()
- Specified by:
newSimpleCompilerin interfaceICompilerFactory- See Also:
ISimpleCompiler
-
newJavaSourceClassLoader
public AbstractJavaSourceClassLoader newJavaSourceClassLoader()
- Specified by:
newJavaSourceClassLoaderin interfaceICompilerFactory- See Also:
AbstractJavaSourceClassLoader
-
newJavaSourceClassLoader
public AbstractJavaSourceClassLoader newJavaSourceClassLoader(java.lang.ClassLoader parentClassLoader)
- Specified by:
newJavaSourceClassLoaderin interfaceICompilerFactory- See Also:
AbstractJavaSourceClassLoader
-
-