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 StringgetId()abstract StringnewJavaSourceClassLoader(ClassLoader parentClassLoader) abstract StringtoString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ICompilerFactory
newCompiler
-
Constructor Details
-
AbstractCompilerFactory
public AbstractCompilerFactory()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceICompilerFactory- Returns:
- A
Stringwhich uniquely identifies the concrete implementation of this interface, e.g."org.codehaus.janino"or"org.codehaus.commons.compiler.jdk"
-
toString
-
getImplementationVersion
- Specified by:
getImplementationVersionin interfaceICompilerFactory- Returns:
- The version of this implementation of the commons-compiler specification, or
null
-
newExpressionEvaluator
- Specified by:
newExpressionEvaluatorin interfaceICompilerFactory- See Also:
-
newScriptEvaluator
- Specified by:
newScriptEvaluatorin interfaceICompilerFactory- See Also:
-
newClassBodyEvaluator
- Specified by:
newClassBodyEvaluatorin interfaceICompilerFactory- See Also:
-
newSimpleCompiler
- Specified by:
newSimpleCompilerin interfaceICompilerFactory- See Also:
-
newJavaSourceClassLoader
- Specified by:
newJavaSourceClassLoaderin interfaceICompilerFactory- See Also:
-
newJavaSourceClassLoader
- Specified by:
newJavaSourceClassLoaderin interfaceICompilerFactory- See Also:
-