Uses of Enum
org.jruby.embed.LocalVariableBehavior
Packages that use LocalVariableBehavior
Package
Description
JRuby Embed OSGi support
-
Uses of LocalVariableBehavior in org.jruby.embed
Methods in org.jruby.embed that return LocalVariableBehaviorModifier and TypeMethodDescriptionstatic LocalVariableBehaviorReturns the enum constant of this type with the specified name.static LocalVariableBehavior[]LocalVariableBehavior.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.jruby.embed with parameters of type LocalVariableBehaviorModifier and TypeMethodDescription(package private) static LocalContextProviderScriptingContainer.getProviderInstance(LocalContextScope scope, LocalVariableBehavior behavior, boolean lazy) 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 LocalVariableBehaviorAbstractLocalContextProvider.behaviorprivate final LocalVariableBehaviorLocalContext.behaviorMethods 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 LocalVariableBehaviorSingletonLocalContextProvider.getLocalVariableBehaviorOrNull()Deprecated.Methods in org.jruby.embed.internal with parameters of type LocalVariableBehaviorModifier and TypeMethodDescriptionstatic LocalContextSingletonLocalContextProvider.getLocalContextInstance(RubyInstanceConfig config, LocalVariableBehavior behavior, boolean lazy) Deprecated.SingletonLocalContextProvider.getProvider(LocalVariableBehavior behavior, boolean lazy) private static voidSingletonLocalContextProvider.initLocalContext(LocalVariableBehavior behavior, boolean lazy) Constructors in org.jruby.embed.internal with parameters of type LocalVariableBehaviorModifierConstructorDescriptionprotectedprotectedAbstractLocalContextProvider(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) privateSingletonLocalContextProvider(RubyInstanceConfig config, 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) -
Uses of LocalVariableBehavior in org.jruby.embed.util
Methods in org.jruby.embed.util that return LocalVariableBehaviorModifier and TypeMethodDescriptionstatic LocalVariableBehaviorSystemPropertyCatcher.getBehavior(LocalVariableBehavior defaultBehavior) Gets a local variable behavior from System property.Methods in org.jruby.embed.util with parameters of type LocalVariableBehaviorModifier and TypeMethodDescriptionstatic LocalVariableBehaviorSystemPropertyCatcher.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 BiVariableVariableInterceptor.getVariableInstance(LocalVariableBehavior behavior, RubyObject receiver, String name, Object... value) Returns an appropriate type of a variable instance to the specified local variable behavior.static booleanVariableInterceptor.isKindOfRubyVariable(LocalVariableBehavior behavior, String name) Checks the given name is whether a legal Ruby variable/constant name or not.static voidVariableInterceptor.retrieve(LocalVariableBehavior behavior, BiVariableMap map, RubyObject receiver) Retrieves variable/constant names and values after the evaluation or method invocation.static voidVariableInterceptor.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 voidVariableInterceptor.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 voidVariableInterceptor.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.