public interface BindingsValuesProvidersByContext
BindingsValuesProvider
for specific contexts, based on
their "context" service property.Modifier and Type | Method and Description |
---|---|
Collection<BindingsValuesProvider> |
getBindingsValuesProviders(javax.script.ScriptEngineFactory scriptEngineFactory,
String context)
Retrieve the current
BindingsValuesProvider for
the supplied ScriptEngineFactory and context. |
Collection<BindingsValuesProvider> getBindingsValuesProviders(javax.script.ScriptEngineFactory scriptEngineFactory, 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 © 2014 The Apache Software Foundation. All rights reserved.