Package | Description |
---|---|
org.jruby.embed | |
org.jruby.embed.internal | |
org.jruby.embed.variable |
Modifier and Type | Method and Description |
---|---|
BiVariableMap |
ScriptingContainer.getVarMap()
Returns a variable map in one of
LocalContextScope . |
Modifier and Type | Method and Description |
---|---|
BiVariableMap |
ThreadSafeLocalContextProvider.getVarMap() |
BiVariableMap |
SingletonLocalContextProvider.getVarMap() |
BiVariableMap |
SingleThreadLocalContextProvider.getVarMap() |
BiVariableMap |
LocalContextProvider.getVarMap()
Returns a
BiVariableMap of a specified scope. |
BiVariableMap |
ConcurrentLocalContextProvider.getVarMap() |
BiVariableMap |
LocalContext.getVarMap(LocalContextProvider provider) |
Modifier and Type | Method and Description |
---|---|
static void |
VariableInterceptor.inject(BiVariableMap map,
Ruby runtime,
ManyVarsDynamicScope scope,
int depth,
IRubyObject receiver)
Injects variable values from Java to Ruby just before an evaluation or
method invocation.
|
static void |
GlobalVariable.retrieve(IRubyObject receiver,
BiVariableMap vars)
Retrieves global variables from Ruby after the evaluation.
|
static void |
VariableInterceptor.retrieve(LocalVariableBehavior behavior,
BiVariableMap map,
RubyObject receiver)
Retrieves variable/constant names and values after the evaluation or method
invocation.
|
static void |
TransientLocalVariable.retrieve(RubyObject receiver,
BiVariableMap vars)
Doesn't do anything since a transient local variable should not be retrieved
from Ruby.
|
static void |
PersistentLocalVariable.retrieve(RubyObject receiver,
BiVariableMap vars)
Retrieves local variables from Ruby after the evaluation.
|
static void |
LocalGlobalVariable.retrieve(RubyObject receiver,
BiVariableMap vars)
Retrieves global variables eagerly from Ruby right after the evaluation.
|
static void |
InstanceVariable.retrieve(RubyObject receiver,
BiVariableMap vars)
Retrieves instance variables from Ruby after the evaluation.
|
static void |
Constant.retrieve(RubyObject receiver,
BiVariableMap vars)
Retrieves constants from Ruby after the evaluation or method invocation.
|
static void |
ClassVariable.retrieve(RubyObject receiver,
BiVariableMap vars)
Retrieves class variables from Ruby after the evaluation.
|
static void |
Argv.retrieve(RubyObject receiver,
BiVariableMap vars)
Retrieves ARGV from Ruby after the evaluation or method invocation.
|
static void |
LocalGlobalVariable.retrieveByKey(Ruby runtime,
BiVariableMap vars,
String key)
Retrieves a global variable by key from Ruby runtime after the evaluation.
|
static void |
GlobalVariable.retrieveByKey(Ruby runtime,
BiVariableMap vars,
String key)
Retrieves a global variable by key from Ruby after the evaluation.
|
static void |
InstanceVariable.retrieveByKey(RubyObject receiver,
BiVariableMap vars,
String key)
Retrieves a instance variable by key from Ruby runtime after the evaluation.
|
static void |
Constant.retrieveByKey(RubyObject receiver,
BiVariableMap vars,
String key)
Retrieves a constant by key from Ruby runtime after the evaluation.
|
static void |
ClassVariable.retrieveByKey(RubyObject receiver,
BiVariableMap vars,
String key)
Retrieves a class variable by key from Ruby runtime after the evaluation.
|
static void |
Argv.retrieveByKey(RubyObject receiver,
BiVariableMap vars,
String key)
Retrieves ARGV by key from Ruby runtime after the evaluation.
|
static void |
VariableInterceptor.tryLazyRetrieval(LocalVariableBehavior behavior,
BiVariableMap map,
IRubyObject receiver,
Object key)
Retrieves specified variable/constant name and value after the evaluation
or method invocation only when it is requested.
|
Copyright © 2001-2013 JRuby. All Rights Reserved.