Package 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LocalVariableBehaviorprotected final RubyInstanceConfigprotected boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedprotectedprotectedAbstractLocalContextProvider(RubyInstanceConfig config, LocalVariableBehavior behavior) -
Method Summary
Modifier and TypeMethodDescriptionprotected LocalContextReturns a local variable behavior associated to the scope.Gets an instance ofRubyInstanceConfig.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jruby.embed.internal.LocalContextProvider
getAttributeMap, getRuntime, getVarMap, isRuntimeInitialized, terminate
-
Field Details
-
config
-
behavior
-
lazy
protected boolean lazy
-
-
Constructor Details
-
AbstractLocalContextProvider
protected AbstractLocalContextProvider() -
AbstractLocalContextProvider
-
AbstractLocalContextProvider
-
AbstractLocalContextProvider
-
-
Method Details
-
getInstance
-
getRubyInstanceConfig
Description copied from interface:LocalContextProviderGets an instance ofRubyInstanceConfig.- Specified by:
getRubyInstanceConfigin interfaceLocalContextProvider- Returns:
- an instance of RubyInstanceConfig.
-
getLocalVariableBehavior
Description copied from interface:LocalContextProviderReturns a local variable behavior associated to the scope.- Specified by:
getLocalVariableBehaviorin interfaceLocalContextProvider- Returns:
- a local variable behavior
-