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, wait
getAttributeMap, getRuntime, getVarMap, isRuntimeInitialized, terminate
protected 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)
LocalContextProvider
setLoadPaths
in interface LocalContextProvider
loadPaths
- is a list of paths to load scritps@Deprecated public void setClassCache(ClassCache classCache)
LocalContextProvider
setClassCache
in interface LocalContextProvider
classCache
- is a class cache optionprotected LocalContext getInstance()
public RubyInstanceConfig getRubyInstanceConfig()
LocalContextProvider
RubyInstanceConfig
.getRubyInstanceConfig
in interface LocalContextProvider
public LocalVariableBehavior getLocalVariableBehavior()
LocalContextProvider
getLocalVariableBehavior
in interface LocalContextProvider
Copyright © 2001-2015 JRuby. All Rights Reserved.