org.codehaus.commons.compiler.jdk
Class CompilerFactory

java.lang.Object
  extended by org.codehaus.commons.compiler.AbstractCompilerFactory
      extended by org.codehaus.commons.compiler.jdk.CompilerFactory
All Implemented Interfaces:
ICompilerFactory

public class CompilerFactory
extends AbstractCompilerFactory


Constructor Summary
CompilerFactory()
           
 
Method Summary
 java.lang.String getId()
           
 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

CompilerFactory

public CompilerFactory()
Method Detail

getId

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

getImplementationVersion

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

newExpressionEvaluator

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

newScriptEvaluator

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

newClassBodyEvaluator

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

newSimpleCompiler

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

newJavaSourceClassLoader

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

newJavaSourceClassLoader

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


Copyright © 2001-2012. All Rights Reserved.