public interface BindingsValuesProvidersByContext
BindingsValuesProvider
for specific contexts, based on
their "context" service property.Modifier and Type | Method and Description |
---|---|
java.util.Collection<BindingsValuesProvider> |
getBindingsValuesProviders(javax.script.ScriptEngineFactory scriptEngineFactory,
java.lang.String context)
Retrieve the current
BindingsValuesProvider for
the supplied ScriptEngineFactory and context. |
java.util.Collection<BindingsValuesProvider> getBindingsValuesProviders(javax.script.ScriptEngineFactory scriptEngineFactory, java.lang.String context)
BindingsValuesProvider
for
the supplied ScriptEngineFactory and context.scriptEngineFactory
- metadata of the ScriptEngine that's being usedcontext
- Only BindingsValuesProviders that have this value in their CONTEXT
service property are considered. For backwards compatibility, BindingsValuesProviders
which do not have a CONTEXT service property are considered to have CONTEXT=request.Copyright © 2022 The Apache Software Foundation. All rights reserved.