Class CompilerFactory
java.lang.Object
org.codehaus.commons.compiler.AbstractCompilerFactory
org.codehaus.janino.CompilerFactory
- All Implemented Interfaces:
ICompilerFactory
The JANINO implementation of
ICompilerFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()newJavaSourceClassLoader(ClassLoader parentClassLoader) toString()
-
Constructor Details
-
CompilerFactory
public CompilerFactory()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceICompilerFactory- Specified by:
getIdin classAbstractCompilerFactory- Returns:
- A
Stringwhich uniquely identifies the concrete implementation of this interface, e.g."org.codehaus.janino"or"org.codehaus.commons.compiler.jdk"
-
toString
- Specified by:
toStringin interfaceICompilerFactory- Specified by:
toStringin classAbstractCompilerFactory- Returns:
- A human-readable
Stringthat identifies the concrete implementation of this interface in a user interface, e.g."janino"or"jdk"
-
getImplementationVersion
- Specified by:
getImplementationVersionin interfaceICompilerFactory- Specified by:
getImplementationVersionin classAbstractCompilerFactory- Returns:
- The version of this implementation of the commons-compiler specification, or
null
-
newExpressionEvaluator
- Specified by:
newExpressionEvaluatorin interfaceICompilerFactory- Overrides:
newExpressionEvaluatorin classAbstractCompilerFactory- See Also:
-
newScriptEvaluator
- Specified by:
newScriptEvaluatorin interfaceICompilerFactory- Overrides:
newScriptEvaluatorin classAbstractCompilerFactory- See Also:
-
newClassBodyEvaluator
- Specified by:
newClassBodyEvaluatorin interfaceICompilerFactory- Overrides:
newClassBodyEvaluatorin classAbstractCompilerFactory- See Also:
-
newSimpleCompiler
- Specified by:
newSimpleCompilerin interfaceICompilerFactory- Overrides:
newSimpleCompilerin classAbstractCompilerFactory- See Also:
-
newCompiler
- See Also:
-
newJavaSourceClassLoader
- Specified by:
newJavaSourceClassLoaderin interfaceICompilerFactory- Overrides:
newJavaSourceClassLoaderin classAbstractCompilerFactory- See Also:
-
newJavaSourceClassLoader
- Specified by:
newJavaSourceClassLoaderin interfaceICompilerFactory- Overrides:
newJavaSourceClassLoaderin classAbstractCompilerFactory- See Also:
-