public abstract class AbstractLocalContextProvider extends java.lang.Object implements LocalContextProvider
| Modifier and Type | Field and Description |
|---|---|
protected LocalVariableBehavior |
behavior |
protected RubyInstanceConfig |
config |
protected boolean |
lazy |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLocalContextProvider() |
protected |
AbstractLocalContextProvider(LocalVariableBehavior behavior) |
protected |
AbstractLocalContextProvider(RubyInstanceConfig config) |
protected |
AbstractLocalContextProvider(RubyInstanceConfig config,
LocalVariableBehavior behavior) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Ruby |
getGlobalRuntime(AbstractLocalContextProvider provider) |
(package private) RubyInstanceConfig |
getGlobalRuntimeConfig(AbstractLocalContextProvider provider) |
(package private) static RubyInstanceConfig |
getGlobalRuntimeConfigOrNew() |
protected LocalContext |
getInstance() |
LocalVariableBehavior |
getLocalVariableBehavior()
Returns a local variable behavior associated to the scope.
|
RubyInstanceConfig |
getRubyInstanceConfig()
Gets an instance of
RubyInstanceConfig. |
(package private) boolean |
isGlobalRuntimeReady() |
void |
setClassCache(ClassCache classCache)
Deprecated.
|
void |
setLoadPaths(java.util.List loadPaths)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeMap, getRuntime, getVarMap, isRuntimeInitialized, terminateprotected final RubyInstanceConfig config
protected final LocalVariableBehavior behavior
protected boolean lazy
protected AbstractLocalContextProvider()
protected AbstractLocalContextProvider(RubyInstanceConfig config)
protected AbstractLocalContextProvider(RubyInstanceConfig config, LocalVariableBehavior behavior)
protected AbstractLocalContextProvider(LocalVariableBehavior behavior)
@Deprecated public void setLoadPaths(java.util.List loadPaths)
LocalContextProvidersetLoadPaths in interface LocalContextProviderloadPaths - is a list of paths to load scritps@Deprecated public void setClassCache(ClassCache classCache)
LocalContextProvidersetClassCache in interface LocalContextProviderclassCache - is a class cache optionprotected LocalContext getInstance()
public RubyInstanceConfig getRubyInstanceConfig()
LocalContextProviderRubyInstanceConfig.getRubyInstanceConfig in interface LocalContextProviderpublic LocalVariableBehavior getLocalVariableBehavior()
LocalContextProvidergetLocalVariableBehavior in interface LocalContextProviderboolean isGlobalRuntimeReady()
Ruby getGlobalRuntime(AbstractLocalContextProvider provider)
RubyInstanceConfig getGlobalRuntimeConfig(AbstractLocalContextProvider provider)
static RubyInstanceConfig getGlobalRuntimeConfigOrNew()