public abstract class AbstractLocalContextProvider extends 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 |
|---|---|
protected LocalContext |
getInstance() |
LocalVariableBehavior |
getLocalVariableBehavior()
Returns a local variable behavior associated to the scope.
|
RubyInstanceConfig |
getRubyInstanceConfig()
Gets an instance of
RubyInstanceConfig. |
void |
setClassCache(ClassCache classCache)
Deprecated.
|
void |
setLoadPaths(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(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 LocalContextProviderCopyright © 2001-2015 JRuby. All Rights Reserved.