Package com.composum.platform.htl.impl
Class ComposumModelsUseProvider
- java.lang.Object
-
- com.composum.platform.htl.impl.ComposumModelsUseProvider
-
- All Implemented Interfaces:
org.apache.sling.scripting.sightly.use.UseProvider
public class ComposumModelsUseProvider extends Object implements org.apache.sling.scripting.sightly.use.UseProvider
HTLUseProvider
which will instantiate a referenced Sling Model from aBeanContext
. This supplements theSlingModelsUseProvider
for use with Composum models. It has to have a higher service ranking, because SlingModelsProvider throws when the object is a model but cannot be adapted from request or resource.- Author:
- Hans-Peter Stoerr
- See Also:
SlingModelsUseProvider
-
-
Constructor Summary
Constructors Constructor Description ComposumModelsUseProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.sling.scripting.sightly.use.ProviderOutcome
provide(String identifier, org.apache.sling.scripting.sightly.render.RenderContext renderContext, Bindings arguments)
-