public class SingleThreadLocalContextProvider extends AbstractLocalContextProvider
behavior, config, lazy
Constructor and Description |
---|
SingleThreadLocalContextProvider(LocalVariableBehavior behavior) |
SingleThreadLocalContextProvider(LocalVariableBehavior behavior,
boolean lazy) |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getAttributeMap()
Returns an attribute map of a specified scope.
|
Ruby |
getRuntime()
Returns a Ruby runtime of a specified scope.
|
BiVariableMap |
getVarMap()
Returns a
BiVariableMap of a specified scope. |
boolean |
isRuntimeInitialized()
Tests whether Ruby runtime has been initialized or not.
|
void |
terminate()
Clears up a variable map.
|
getInstance, getLocalVariableBehavior, getRubyInstanceConfig
public SingleThreadLocalContextProvider(LocalVariableBehavior behavior)
public SingleThreadLocalContextProvider(LocalVariableBehavior behavior, boolean lazy)
public Ruby getRuntime()
LocalContextProvider
public BiVariableMap getVarMap()
LocalContextProvider
BiVariableMap
of a specified scope.public java.util.Map getAttributeMap()
LocalContextProvider
public boolean isRuntimeInitialized()
LocalContextProvider
public void terminate()
LocalContextProvider
Copyright © 2001-2018 JRuby. All Rights Reserved.