org.apache.sling.launchpad.testservices.scripting
Class JSPBindingsValuesProvider
java.lang.Object
org.apache.sling.launchpad.testservices.scripting.JSPBindingsValuesProvider
- All Implemented Interfaces:
- BindingsValuesProvider
@Service
@Properties(value={@Property(name="service.description",value="JSP BindingsValuesProvider"),@Property(name="service.vendor",value="The Apache Software Foundation")})
public class JSPBindingsValuesProvider
- extends Object
- implements BindingsValuesProvider
Example/test BindingsValuesProvider targeting JSP scripts
Method Summary |
void |
addBindings(javax.script.Bindings bindings)
Add objects to the Bindings object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSPBindingsValuesProvider
public JSPBindingsValuesProvider()
addBindings
public void addBindings(javax.script.Bindings bindings)
- Description copied from interface:
BindingsValuesProvider
- Add objects to the Bindings object. The Bindings
object passed to this method does not support replacing
or removing entries provided by Sling core scripting supports
(request, response, resource, etc.). Entries created by
other implementations of SlingScriptBindingsValuesProvider
is permitted.
- Specified by:
addBindings
in interface BindingsValuesProvider
- Parameters:
bindings
- the Bindings object
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.