org.codehaus.commons.compiler
Class AbstractCompilerFactory

java.lang.Object
  extended by org.codehaus.commons.compiler.AbstractCompilerFactory
All Implemented Interfaces:
ICompilerFactory
Direct Known Subclasses:
CompilerFactory, CompilerFactory

public abstract class AbstractCompilerFactory
extends java.lang.Object
implements ICompilerFactory


Constructor Summary
AbstractCompilerFactory()
           
 
Method Summary
abstract  java.lang.String getId()
           
abstract  java.lang.String getImplementationVersion()
           
 IClassBodyEvaluator newClassBodyEvaluator()
           
 IExpressionEvaluator newExpressionEvaluator()
           
 AbstractJavaSourceClassLoader newJavaSourceClassLoader()
           
 AbstractJavaSourceClassLoader newJavaSourceClassLoader(java.lang.ClassLoader parentClassLoader)
           
 IScriptEvaluator newScriptEvaluator()
           
 ISimpleCompiler newSimpleCompiler()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCompilerFactory

public AbstractCompilerFactory()
Method Detail

getId

public abstract java.lang.String getId()
Specified by:
getId in interface ICompilerFactory
Returns:
A String that identifies the concrete implementation of this interface, e.g. 'org.codehaus.janino' or 'org.codehaus.commons.compiler.jdk'

getImplementationVersion

public abstract java.lang.String getImplementationVersion()
Specified by:
getImplementationVersion in interface ICompilerFactory
Returns:
The version of this implementation of the commons-compiler specification, or null

newExpressionEvaluator

public IExpressionEvaluator newExpressionEvaluator()
Specified by:
newExpressionEvaluator in interface ICompilerFactory
See Also:
IExpressionEvaluator

newScriptEvaluator

public IScriptEvaluator newScriptEvaluator()
Specified by:
newScriptEvaluator in interface ICompilerFactory
See Also:
IScriptEvaluator

newClassBodyEvaluator

public IClassBodyEvaluator newClassBodyEvaluator()
Specified by:
newClassBodyEvaluator in interface ICompilerFactory
See Also:
IClassBodyEvaluator

newSimpleCompiler

public ISimpleCompiler newSimpleCompiler()
Specified by:
newSimpleCompiler in interface ICompilerFactory
See Also:
ISimpleCompiler

newJavaSourceClassLoader

public AbstractJavaSourceClassLoader newJavaSourceClassLoader()
Specified by:
newJavaSourceClassLoader in interface ICompilerFactory
See Also:
AbstractJavaSourceClassLoader

newJavaSourceClassLoader

public AbstractJavaSourceClassLoader newJavaSourceClassLoader(java.lang.ClassLoader parentClassLoader)
Specified by:
newJavaSourceClassLoader in interface ICompilerFactory
See Also:
AbstractJavaSourceClassLoader


Copyright © 2001-2012. All Rights Reserved.