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

java.lang.Object
  extended by org.apache.sling.launchpad.testservices.scripting.GroovyBindingsValuesProvider
All Implemented Interfaces:
BindingsValuesProvider

@Service
@Properties(value={@Property(name="service.description",value="Groovy BindingsValuesProvider"),@Property(name="service.vendor",value="The Apache Software Foundation"),@Property(name="javax.script.name",value="groovy")})
public class GroovyBindingsValuesProvider
extends Object
implements BindingsValuesProvider

Example/test BindingsValuesProvider targeting groovy scripts


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

GroovyBindingsValuesProvider

public GroovyBindingsValuesProvider()
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.