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()abstract java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.codehaus.commons.compiler.ICompilerFactory
newCompiler
-
-
-
-
Method Detail
-
getId
public abstract java.lang.String 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
public abstract java.lang.String toString()
- Specified by:
toStringin interfaceICompilerFactory- Overrides:
toStringin classjava.lang.Object- Returns:
- A human-readable
Stringthat identifies the concrete implementation of this interface in a user interface, e.g."janino"or"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
-
-