org.apache.sling.jcr.resource.internal.scripting
Class JcrObjectsBindingsValuesProvider

java.lang.Object
  extended by org.apache.sling.jcr.resource.internal.scripting.JcrObjectsBindingsValuesProvider
All Implemented Interfaces:
BindingsValuesProvider

public class JcrObjectsBindingsValuesProvider
extends Object
implements BindingsValuesProvider

BindingsValuesProvider for currentNode and currentSession object.


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

JcrObjectsBindingsValuesProvider

public JcrObjectsBindingsValuesProvider()
Method Detail

addBindings

public 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.

Specified by:
addBindings in interface BindingsValuesProvider
Parameters:
bindings - the Bindings object


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