Class SlyBindingsValuesProvider

java.lang.Object
org.apache.sling.scripting.sightly.js.impl.jsapi.SlyBindingsValuesProvider

public class SlyBindingsValuesProvider extends Object
Provides the sightly namespace for usage in HTL & JS scripts called from Sightly
  • Field Details

  • 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

      public void processBindings(Bindings bindings)
    • getScriptPaths

      public Map<String,String> 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)