org.apache.sling.scripting.api
Interface BindingsValuesProvider

All Known Implementing Classes:
GroovyBindingsValuesProvider, JcrObjectsBindingsValuesProvider, JSPBindingsValuesProvider, StringBindingsValuesProvider

public interface BindingsValuesProvider

Service interface which allows for the Bindings object.

Since:
2.1

Method Summary
 void addBindings(javax.script.Bindings bindings)
          Add objects to the Bindings object.
 

Method Detail

addBindings

void addBindings(javax.script.Bindings bindings)
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.

Parameters:
bindings - the Bindings object


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.