Top Description Methods
org.codehaus.commons.compiler

public Interface ICompilerFactory

Known Direct Implementers
org.codehaus.commons.compiler.AbstractCompilerFactory

An entity that produces implementations of IExpressionEvaluator, IScriptEvaluator, IClassBodyEvaluator, ISimpleCompiler or AbstractJavaSourceClassLoader.

Implementations of this interface are, e.g. org.codehaus.janino and org.codehaus.commons.compiler.jdk.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

A String which uniquely identifies the concrete implementation of this interface, e.g. "org.codehaus.janino" or "org.codehaus.commons.compiler.jdk"
getId
()

public String

Returns:

The version of this implementation of the commons-compiler specification, or null
getImplementationVersion
()

public IClassBodyEvaluator
public ICompiler
public IExpressionEvaluator
public AbstractJavaSourceClassLoader
public AbstractJavaSourceClassLoader
public IScriptEvaluator
public ISimpleCompiler
public String

Returns:

A human-readable String that identifies the concrete implementation of this interface in a user interface, e.g. "janino" or "jdk"
toString
()

Method Detail

getIdback to summary
public String getId()
Returns:String

A String which uniquely identifies the concrete implementation of this interface, e.g. "org.codehaus.janino" or "org.codehaus.commons.compiler.jdk"

getImplementationVersionback to summary
public String getImplementationVersion()
Returns:String

The version of this implementation of the commons-compiler specification, or null

newClassBodyEvaluatorback to summary
public IClassBodyEvaluator newClassBodyEvaluator()
Exceptions
UnsupportedOperationException:
The underlying implementation does not implement an IClassBodyEvaluator
See Also
IClassBodyEvaluator
newCompilerback to summary
public ICompiler newCompiler()
Exceptions
UnsupportedOperationException:
The underlying implementation does not implement an ICompiler
See Also
ISimpleCompiler
newExpressionEvaluatorback to summary
public IExpressionEvaluator newExpressionEvaluator()
Exceptions
UnsupportedOperationException:
The underlying implementation does not implement an IExpressionEvaluator
See Also
IExpressionEvaluator
newJavaSourceClassLoaderback to summary
public AbstractJavaSourceClassLoader newJavaSourceClassLoader()
Exceptions
UnsupportedOperationException:
The underlying implementation does not implement an AbstractJavaSourceClassLoader
See Also
AbstractJavaSourceClassLoader
newJavaSourceClassLoaderback to summary
public AbstractJavaSourceClassLoader newJavaSourceClassLoader(ClassLoader parentClassLoader)
Exceptions
UnsupportedOperationException:
The underlying implementation does not implement an AbstractJavaSourceClassLoader
See Also
AbstractJavaSourceClassLoader
newScriptEvaluatorback to summary
public IScriptEvaluator newScriptEvaluator()
Exceptions
UnsupportedOperationException:
The underlying implementation does not implement an IScriptEvaluator
See Also
IScriptEvaluator
newSimpleCompilerback to summary
public ISimpleCompiler newSimpleCompiler()
Exceptions
UnsupportedOperationException:
The underlying implementation does not implement an ISimpleCompiler
See Also
ISimpleCompiler
toStringback to summary
public String toString()
Returns:String

A human-readable String that identifies the concrete implementation of this interface in a user interface, e.g. "janino" or "jdk"

Annotations
@Override