Class JavaUseProvider
java.lang.Object
org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider
- All Implemented Interfaces:
UseProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprovide
(String identifier, RenderContext renderContext, Bindings arguments) Provide an instance based on the given identifier
-
Constructor Details
-
JavaUseProvider
public JavaUseProvider()
-
-
Method Details
-
provide
Description copied from interface:UseProvider
Provide an instance based on the given identifier- Specified by:
provide
in interfaceUseProvider
- Parameters:
identifier
- the identifier of the dependencyrenderContext
- the current rendering contextarguments
- 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.
-