Uses of Enum Class
org.jruby.embed.LocalVariableBehavior
Packages that use LocalVariableBehavior
-
Uses of LocalVariableBehavior in org.jruby.embed
Methods in org.jruby.embed that return LocalVariableBehaviorModifier and TypeMethodDescriptionstatic LocalVariableBehavior
Returns the enum constant of this class with the specified name.static LocalVariableBehavior[]
LocalVariableBehavior.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.jruby.embed with parameters of type LocalVariableBehaviorModifierConstructorDescriptionIsolatedScriptingContainer
(LocalContextScope scope, LocalVariableBehavior behavior) IsolatedScriptingContainer
(LocalContextScope scope, LocalVariableBehavior behavior, boolean lazy) ScriptingContainer
(LocalContextScope scope, LocalVariableBehavior behavior) Constructs a ScriptingContainer with a specified local context type and variable behavior.ScriptingContainer
(LocalContextScope scope, LocalVariableBehavior behavior, boolean lazy) Constructs a ScriptingContainer with a specified local context scope, local variable behavior and laziness.ScriptingContainer
(LocalContextScope scope, LocalVariableBehavior behavior, boolean lazy, boolean wrapExceptions) ScriptingContainer
(LocalVariableBehavior behavior) Constructs a ScriptingContainer with a specified local variable behavior. -
Uses of LocalVariableBehavior in org.jruby.embed.internal
Fields in org.jruby.embed.internal declared as LocalVariableBehaviorModifier and TypeFieldDescriptionprotected final LocalVariableBehavior
AbstractLocalContextProvider.behavior
Methods in org.jruby.embed.internal that return LocalVariableBehaviorModifier and TypeMethodDescriptionAbstractLocalContextProvider.getLocalVariableBehavior()
BiVariableMap.getLocalVariableBehavior()
Returns a local variable behaviorLocalContext.getLocalVariableBehavior()
LocalContextProvider.getLocalVariableBehavior()
Returns a local variable behavior associated to the scope.static LocalVariableBehavior
SingletonLocalContextProvider.getLocalVariableBehaviorOrNull()
Deprecated.Methods in org.jruby.embed.internal with parameters of type LocalVariableBehaviorModifier and TypeMethodDescriptionstatic LocalContext
SingletonLocalContextProvider.getLocalContextInstance
(RubyInstanceConfig config, LocalVariableBehavior behavior, boolean lazy) Deprecated.SingletonLocalContextProvider.getProvider
(LocalVariableBehavior behavior, boolean lazy) Constructors in org.jruby.embed.internal with parameters of type LocalVariableBehaviorModifierConstructorDescriptionprotected
protected
AbstractLocalContextProvider
(RubyInstanceConfig config, LocalVariableBehavior behavior) ConcurrentLocalContextProvider
(LocalVariableBehavior behavior, boolean lazy) LocalContext
(RubyInstanceConfig config, LocalVariableBehavior behavior) LocalContext
(RubyInstanceConfig config, LocalVariableBehavior behavior, boolean lazy) SingleThreadLocalContextProvider
(LocalVariableBehavior behavior, boolean lazy) SingletonLocalContextProvider
(LocalVariableBehavior behavior, boolean lazy) ThreadSafeLocalContextProvider
(LocalVariableBehavior behavior, boolean lazy) -
Uses of LocalVariableBehavior in org.jruby.embed.osgi
Constructors in org.jruby.embed.osgi with parameters of type LocalVariableBehaviorModifierConstructorDescriptionOSGiIsolatedScriptingContainer
(LocalContextScope scope, LocalVariableBehavior behavior) OSGiIsolatedScriptingContainer
(LocalContextScope scope, LocalVariableBehavior behavior, boolean lazy) OSGiScriptingContainer
(org.osgi.framework.Bundle creator, LocalContextScope scope, LocalVariableBehavior behavior) A scripting container where the classloader can find classes in the osgi creator bundle and where the jruby home is set to point to the one in the jruby's bundle home folder. -
Uses of LocalVariableBehavior in org.jruby.embed.util
Methods in org.jruby.embed.util that return LocalVariableBehaviorModifier and TypeMethodDescriptionstatic LocalVariableBehavior
SystemPropertyCatcher.getBehavior
(LocalVariableBehavior defaultBehavior) Gets a local variable behavior from System property.Methods in org.jruby.embed.util with parameters of type LocalVariableBehaviorModifier and TypeMethodDescriptionstatic LocalVariableBehavior
SystemPropertyCatcher.getBehavior
(LocalVariableBehavior defaultBehavior) Gets a local variable behavior from System property. -
Uses of LocalVariableBehavior in org.jruby.embed.variable
Methods in org.jruby.embed.variable with parameters of type LocalVariableBehaviorModifier and TypeMethodDescriptionstatic BiVariable
VariableInterceptor.getVariableInstance
(LocalVariableBehavior behavior, RubyObject receiver, String name, Object... value) Returns an appropriate type of a variable instance to the specified local variable behavior.static boolean
VariableInterceptor.isKindOfRubyVariable
(LocalVariableBehavior behavior, String name) Checks the given name is whether a legal Ruby variable/constant name or not.static void
VariableInterceptor.retrieve
(LocalVariableBehavior behavior, BiVariableMap map, RubyObject receiver) Retrieves variable/constant names and values after the evaluation or method invocation.static void
VariableInterceptor.terminateGlobalVariables
(LocalVariableBehavior behavior, Collection<BiVariable> variables, Ruby runtime) Clears global variable values from Ruby runtime to behave the same as JSR 223 reference implementation.static void
VariableInterceptor.terminateLocalVariables
(LocalVariableBehavior behavior, List<String> varNames, List<BiVariable> variables) Clears local variables form the variable map so that old local variable name-value pairs are not to be used in successive evaluations.static void
VariableInterceptor.tryLazyRetrieval
(LocalVariableBehavior behavior, BiVariableMap map, IRubyObject receiver, Object key) Retrieves specified variable/constant name and value after the evaluation or method invocation only when it is requested.