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