Class SlyBindingsValuesProvider
java.lang.Object
org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider
Provides the
sightly
namespace for usage in HTL & JS scripts called from Sightly-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
activate
(org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider.Configuration configuration) protected void
deactivate
(org.osgi.service.component.ComponentContext componentContext) void
initialise
(ResourceResolver resourceResolver, org.apache.sling.scripting.sightly.js.impl.JsEnvironment environment, Bindings bindings) void
processBindings
(Bindings bindings)
-
Field Details
-
SCR_PROP_JS_BINDING_IMPLEMENTATIONS
- See Also:
-
SLING_NS_PATH
- See Also:
-
Q_PATH
- See Also:
-
-
Constructor Details
-
SlyBindingsValuesProvider
public SlyBindingsValuesProvider()
-
-
Method Details
-
initialise
public void initialise(ResourceResolver resourceResolver, org.apache.sling.scripting.sightly.js.impl.JsEnvironment environment, Bindings bindings) -
processBindings
-
getScriptPaths
-
activate
protected void activate(org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider.Configuration configuration) -
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext componentContext)
-