Class JcrObjectsBindingsValuesProvider

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

    • JcrObjectsBindingsValuesProvider

      public JcrObjectsBindingsValuesProvider()
  • Method Details

    • addBindings

      public void addBindings(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