Package org.codehaus.commons.compiler
Class AbstractCompilerFactory
java.lang.Object
org.codehaus.commons.compiler.AbstractCompilerFactory
- All Implemented Interfaces:
ICompilerFactory
- Direct Known Subclasses:
CompilerFactory
,CompilerFactory
Base class for a simple
ICompilerFactory
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
getId()
abstract String
newJavaSourceClassLoader
(ClassLoader parentClassLoader)
-
Constructor Details
-
AbstractCompilerFactory
public AbstractCompilerFactory()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceICompilerFactory
- Returns:
- A
String
that identifies the concrete implementation of this interface, e.g. 'org.codehaus.janino' or 'org.codehaus.commons.compiler.jdk'
-
getImplementationVersion
- Specified by:
getImplementationVersion
in interfaceICompilerFactory
- Returns:
- The version of this implementation of the commons-compiler specification, or
null
-
newExpressionEvaluator
- Specified by:
newExpressionEvaluator
in interfaceICompilerFactory
- See Also:
-
newScriptEvaluator
- Specified by:
newScriptEvaluator
in interfaceICompilerFactory
- See Also:
-
newClassBodyEvaluator
- Specified by:
newClassBodyEvaluator
in interfaceICompilerFactory
- See Also:
-
newSimpleCompiler
- Specified by:
newSimpleCompiler
in interfaceICompilerFactory
- See Also:
-
newJavaSourceClassLoader
- Specified by:
newJavaSourceClassLoader
in interfaceICompilerFactory
- See Also:
-
newJavaSourceClassLoader
- Specified by:
newJavaSourceClassLoader
in interfaceICompilerFactory
- See Also:
-