org.apache.sling.launchpad.testservices.scripting
Class JSPBindingsValuesProvider

java.lang.Object
  extended by 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


Constructor Summary
JSPBindingsValuesProvider()
           
 
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
 

Constructor Detail

JSPBindingsValuesProvider

public JSPBindingsValuesProvider()
Method Detail

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.