Class ExtendedJavaUseProvider

  • All Implemented Interfaces:
    org.apache.sling.scripting.sightly.use.UseProvider

    public class ExtendedJavaUseProvider
    extends Object
    implements org.apache.sling.scripting.sightly.use.UseProvider
    A HTL UseProvider similar to the JavaUseProvider that allows accessing the RenderContext, too - the constructed Java object has to implement UseWithRenderContext with UseWithRenderContext.init(RenderContext, Bindings).
    Since:
    09/2017
    Author:
    Hans-Peter Stoerr
    • Constructor Detail

      • ExtendedJavaUseProvider

        public ExtendedJavaUseProvider()
    • Method Detail

      • provide

        public org.apache.sling.scripting.sightly.use.ProviderOutcome provide​(String identifier,
                                                                              org.apache.sling.scripting.sightly.render.RenderContext renderContext,
                                                                              Bindings arguments)
        Specified by:
        provide in interface org.apache.sling.scripting.sightly.use.UseProvider