C E G I M O P S 

C

CodeCompletion - Interface in org.rhq.scripting
An interface for performing code completion in a given language.
complete(PrintWriter, String, int, List) - Method in interface org.rhq.scripting.CodeCompletion
Generates the completion candidates and fills the supplied list with them.
createBindings() - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 

E

eval(String, ScriptContext) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
eval(Reader, ScriptContext) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
eval(String) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
eval(Reader) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
eval(String, Bindings) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
eval(Reader, Bindings) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
extractUserFriendlyErrorMessage(ScriptException) - Method in interface org.rhq.scripting.ScriptEngineInitializer
At least the Rhino script engine for java script generates exceptions whose error messages contain just "too much" information to be easily decipherable by the end users.

G

generateIndirectionMethods(String, Set<Method>) - Method in interface org.rhq.scripting.ScriptEngineInitializer
This function returns a definition string in the script engine's language that provides an indirection to calling the method on the bound object.
get(ClassLoader) - Static method in class org.rhq.scripting.ScriptSourceProviderFactory
Loads the set of the available ScriptSourceProvider implementations present on the classpath and registered in META-INF/services.
get(String) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
getBindings(int) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
getCodeCompletion() - Method in interface org.rhq.scripting.ScriptEngineProvider
 
getContext() - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
getDocumentation(Class<?>) - Method in interface org.rhq.scripting.MetadataProvider
 
getDocumentation(Method) - Method in interface org.rhq.scripting.MetadataProvider
 
getFactory() - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
getInitializer() - Method in interface org.rhq.scripting.ScriptEngineProvider
 
getParameterName(Method, int) - Method in interface org.rhq.scripting.MetadataProvider
Tries to determine the name of a parameter on a method.
getScriptFileExtension() - Method in interface org.rhq.scripting.ScriptEngineProvider
 
getScriptSource(URI) - Method in interface org.rhq.scripting.ScriptSourceProvider
Returns the reader of the source of the script specified by given location.
getSupportedLanguage() - Method in interface org.rhq.scripting.ScriptEngineProvider
 
getTypeName(Type, boolean) - Method in interface org.rhq.scripting.MetadataProvider
This is a utility method for determining the type name including the type parameters.
getUnproxiedMethod(Method) - Method in interface org.rhq.scripting.MetadataProvider
Many of the objects that RHQ exposes in the scripting environment are implemented using proxies.

I

installScriptSourceProvider(ScriptEngine, ScriptSourceProvider) - Method in interface org.rhq.scripting.ScriptEngineInitializer
Installs given script source provider into the script engine.
instantiate(Set<String>, PermissionCollection) - Method in interface org.rhq.scripting.ScriptEngineInitializer
Instantiates a new script engine, makes the provided java packages "imported" into the context (i.e.

M

MetadataProvider - Interface in org.rhq.scripting
The scripting implementations don't have to supply an implementation of this interface but rather one is provided to the CodeCompletion.

O

org.rhq.scripting - package org.rhq.scripting
 
org.rhq.scripting.util - package org.rhq.scripting.util
 

P

put(String, Object) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 

S

SandboxedScriptEngine - Class in org.rhq.scripting.util
This is a decorator class for any other ScriptEngine implementation that runs any of the eval methods with the defined set of Permissions.
SandboxedScriptEngine(ScriptEngine) - Constructor for class org.rhq.scripting.util.SandboxedScriptEngine
 
SandboxedScriptEngine(ScriptEngine, PermissionCollection) - Constructor for class org.rhq.scripting.util.SandboxedScriptEngine
 
SandboxedScriptEngine(ScriptEngine, Collection<? extends Permission>) - Constructor for class org.rhq.scripting.util.SandboxedScriptEngine
 
ScriptEngineInitializer - Interface in org.rhq.scripting
Is able to instantiate a script engine and import packages into the context of the engine.
ScriptEngineProvider - Interface in org.rhq.scripting
This is the service interface for scripting language implementations for RHQ (loaded using the META-INF/services mechanism).
ScriptSourceProvider - Interface in org.rhq.scripting
Scripts in RHQ can be stored in various locations or maybe not even in the filesystem.
ScriptSourceProviderFactory - Class in org.rhq.scripting
A factory class for the ScriptSourceProvider implementations.
setBindings(Bindings, int) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
setContext(ScriptContext) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
setMetadataProvider(MetadataProvider) - Method in interface org.rhq.scripting.CodeCompletion
Provides the code completion implementation with the metadata provider it can use to format more meaningful completion hints.
setPermissions(Permission...) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
setPermissions(Collection<? extends Permission>) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
setPermissions(PermissionCollection) - Method in class org.rhq.scripting.util.SandboxedScriptEngine
 
setScriptContext(ScriptContext) - Method in interface org.rhq.scripting.CodeCompletion
The code completor can use the provided script context to find out about possible completions.
C E G I M O P S 

Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.