java.lang.Object
org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider
All Implemented Interfaces:
UseProvider

public class JavaUseProvider extends Object implements UseProvider
  • Constructor Details

    • JavaUseProvider

      public JavaUseProvider()
  • Method Details

    • provide

      public ProviderOutcome provide(String identifier, RenderContext renderContext, Bindings arguments)
      Description copied from interface: UseProvider
      Provide an instance based on the given identifier
      Specified by:
      provide in interface UseProvider
      Parameters:
      identifier - the identifier of the dependency
      renderContext - the current rendering context
      arguments - specific arguments provided by the use plugin
      Returns:
      a container with the instance that corresponds to the identifier; if the identifier cannot be handled by this provider, a failed outcome is returned.