public class ThreadSafeLocalContextProvider extends AbstractLocalContextProvider
behavior, config, lazy
Constructor and Description |
---|
ThreadSafeLocalContextProvider(LocalVariableBehavior behavior,
boolean lazy) |
Modifier and Type | Method and Description |
---|---|
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, setClassCache, setLoadPaths
public ThreadSafeLocalContextProvider(LocalVariableBehavior behavior, boolean lazy)
public Ruby getRuntime()
LocalContextProvider
public BiVariableMap getVarMap()
LocalContextProvider
BiVariableMap
of a specified scope.public Map getAttributeMap()
LocalContextProvider
public boolean isRuntimeInitialized()
LocalContextProvider
public void terminate()
LocalContextProvider
Copyright © 2001-2015 JRuby. All Rights Reserved.