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 | 
|---|---|
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, getRubyInstanceConfigpublic SingleThreadLocalContextProvider(LocalVariableBehavior behavior)
public SingleThreadLocalContextProvider(LocalVariableBehavior behavior, boolean lazy)
public Ruby getRuntime()
LocalContextProviderpublic BiVariableMap getVarMap()
LocalContextProviderBiVariableMap of a specified scope.public Map getAttributeMap()
LocalContextProviderpublic boolean isRuntimeInitialized()
LocalContextProviderpublic void terminate()
LocalContextProviderCopyright © 2001-2015 JRuby. All Rights Reserved.