org.jruby.embed.internal
Class AbstractLocalContextProvider
java.lang.Object
org.jruby.embed.internal.AbstractLocalContextProvider
- All Implemented Interfaces:
- LocalContextProvider
- Direct Known Subclasses:
- ConcurrentLocalContextProvider, SingleThreadLocalContextProvider, SingletonLocalContextProvider, ThreadSafeLocalContextProvider
public abstract class AbstractLocalContextProvider
- extends java.lang.Object
- implements LocalContextProvider
- Author:
- Yoko Harada
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
config
protected RubyInstanceConfig config
behavior
protected LocalVariableBehavior behavior
lazy
protected boolean lazy
AbstractLocalContextProvider
public AbstractLocalContextProvider()
setLoadPaths
@Deprecated
public void setLoadPaths(java.util.List loadPaths)
- Deprecated.
- Description copied from interface:
LocalContextProvider
- Sets a scripts' loading path to a Ruby runtime.
- Specified by:
setLoadPaths
in interface LocalContextProvider
- Parameters:
loadPaths
- is a list of paths to load scritps
setClassCache
@Deprecated
public void setClassCache(ClassCache classCache)
- Deprecated.
- Description copied from interface:
LocalContextProvider
- Sets a class cash option to a Ruby runtime.
- Specified by:
setClassCache
in interface LocalContextProvider
- Parameters:
classCache
- is a class cache option
getRubyInstanceConfig
public RubyInstanceConfig getRubyInstanceConfig()
- Description copied from interface:
LocalContextProvider
- Gets an instance of
RubyInstanceConfig
.
- Specified by:
getRubyInstanceConfig
in interface LocalContextProvider
- Returns:
- an instance of RubyInstanceConfig.
getInstance
protected LocalContext getInstance()
getLocalVariableBehavior
public LocalVariableBehavior getLocalVariableBehavior()
- Description copied from interface:
LocalContextProvider
- Returns a local variable behavior associated to the scope.
- Specified by:
getLocalVariableBehavior
in interface LocalContextProvider
- Returns:
- a local variable behavior
Copyright © 2002-2009 JRuby Team. All Rights Reserved.