|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.embed.internal.AbstractLocalContextProvider
org.jruby.embed.internal.ThreadSafeLocalContextProvider
public class ThreadSafeLocalContextProvider
Field Summary |
---|
Fields inherited from class org.jruby.embed.internal.AbstractLocalContextProvider |
---|
behavior, config, lazy |
Constructor Summary | |
---|---|
ThreadSafeLocalContextProvider(LocalVariableBehavior behavior,
boolean lazy)
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.jruby.embed.internal.AbstractLocalContextProvider |
---|
getInstance, getLocalVariableBehavior, getRubyInstanceConfig, setClassCache, setLoadPaths |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadSafeLocalContextProvider(LocalVariableBehavior behavior, boolean lazy)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |