Index
All Classes and Interfaces|All Packages
$
- $static_propertyMissing(ScriptEngineManager, String) - Static method in class org.codehaus.groovy.jsr223.ScriptStaticExtensions
-
Provides a convenient shorthand for accessing a Scripting Engine with name
languageShortNameusing a newly createdScriptEngineManagerinstance.
C
- compile(Reader) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Reads and compiles Groovy source from the supplied reader.
- compile(String) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Compiles Groovy source into a reusable
CompiledScript. - createBindings() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Creates a mutable bindings instance suitable for engine-scope variables.
E
- eval(Reader, ScriptContext) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Reads the supplied script source and evaluates it against the given context.
- eval(String, ScriptContext) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Evaluates Groovy source within the supplied script context.
- eval(ScriptContext) - Method in class org.codehaus.groovy.jsr223.GroovyCompiledScript
-
Evaluates the compiled script with the supplied script context.
- eval(ScriptEngine, Reader, Binding) - Static method in class org.codehaus.groovy.jsr223.ScriptExtensions
-
Same as
eval(ScriptEngine, Reader, Binding)except that the source of the script is provided as aReader - eval(ScriptEngine, String, Binding) - Static method in class org.codehaus.groovy.jsr223.ScriptExtensions
-
Executes the specified script.
G
- getClassLoader() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Returns the class loader currently used for script compilation.
- getEngine() - Method in class org.codehaus.groovy.jsr223.GroovyCompiledScript
-
Returns the engine that produced this compiled script.
- getEngineName() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Returns the display name of this script engine implementation.
- getEngineVersion() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Note that the scripting.dev.java.net engine had this backwards.
- getExtensions() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Returns the file extensions recognized by this engine.
- getFactory() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Returns the factory associated with this engine, creating one lazily if necessary.
- getInterface(Class<T>) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Creates a dynamic proxy that dispatches interface method calls to global functions.
- getInterface(Object, Class<T>) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Creates a dynamic proxy that dispatches interface method calls to the supplied object.
- getLanguageName() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
This is also different from scripting.dev.java.net which used an initial lowercase.
- getLanguageVersion() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Returns the version of the Groovy language available at runtime.
- getMethodCallSyntax(String, String, String...) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Formats a Groovy method call using the supplied receiver, method name, and arguments.
- getMimeTypes() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Returns the MIME types associated with Groovy scripts.
- getNames() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Returns the short and display names accepted when locating this engine.
- getOutputStatement(String) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Produces a Groovy statement that prints the supplied text.
- getParameter(String) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Resolves a standard JSR-223 metadata key for this engine.
- getProgram(String...) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Joins multiple Groovy statements into a single program.
- getScriptEngine() - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
-
Creates a new Groovy script engine backed by this factory.
- GroovyCompiledScript - Class in org.codehaus.groovy.jsr223
-
Used to represent compiled Groovy scripts.
- GroovyCompiledScript(GroovyScriptEngineImpl, Class<?>) - Constructor for class org.codehaus.groovy.jsr223.GroovyCompiledScript
-
Creates a compiled-script wrapper for a Groovy class produced by an engine instance.
- GroovyScriptEngineFactory - Class in org.codehaus.groovy.jsr223
-
A factory class conforming to JSR-223 which is used to instantiate Groovy
ScriptEnginesand also exposes metadata describing Groovy's engine class. - GroovyScriptEngineFactory() - Constructor for class org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
- GroovyScriptEngineImpl - Class in org.codehaus.groovy.jsr223
-
JSR-223 Engine implementation.
- GroovyScriptEngineImpl() - Constructor for class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Creates an engine backed by a default
GroovyClassLoader. - GroovyScriptEngineImpl(GroovyClassLoader) - Constructor for class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Creates an engine backed by the supplied class loader.
I
- invokeFunction(String, Object...) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Invokes a previously defined global function by name.
- invokeMethod(Object, String, Object...) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Invokes a method on a script object or other Groovy object.
O
- org.codehaus.groovy.jsr223 - package org.codehaus.groovy.jsr223
S
- ScriptExtensions - Class in org.codehaus.groovy.jsr223
-
This class defines new Java 6 specific groovy methods which extend the normal JDK classes inside the Groovy environment.
- ScriptExtensions() - Constructor for class org.codehaus.groovy.jsr223.ScriptExtensions
- ScriptStaticExtensions - Class in org.codehaus.groovy.jsr223
-
This class defines new Java 6 specific static groovy methods which extend the normal JDK classes inside the Groovy environment.
- ScriptStaticExtensions() - Constructor for class org.codehaus.groovy.jsr223.ScriptStaticExtensions
- setClassLoader(GroovyClassLoader) - Method in class org.codehaus.groovy.jsr223.GroovyScriptEngineImpl
-
Replaces the class loader used for future script compilation.
All Classes and Interfaces|All Packages