Class JcrObjectsBindingsValuesProvider
java.lang.Object
org.apache.sling.jcr.resource.internal.scripting.JcrObjectsBindingsValuesProvider
- All Implemented Interfaces:
BindingsValuesProvider
BindingsValuesProvider for currentNode and currentSession object.
-
Field Summary
Fields inherited from interface org.apache.sling.scripting.api.BindingsValuesProvider
CONTEXT, DEFAULT_CONTEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBindings
(Bindings bindings) Add objects to the Bindings object.
-
Constructor Details
-
JcrObjectsBindingsValuesProvider
public JcrObjectsBindingsValuesProvider()
-
-
Method Details
-
addBindings
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 interfaceBindingsValuesProvider
- Parameters:
bindings
- the Bindings object
-