Interface UseProvider
- All Known Implementing Classes:
JavaUseProvider
,RenderUnitProvider
,ResourceUseProvider
,ScriptUseProvider
@ConsumerType
public interface UseProvider
A UseProvider
instantiates objects for the Use-API.
-
Method Summary
Modifier and TypeMethodDescriptionprovide
(String identifier, RenderContext renderContext, Bindings arguments) Provide an instance based on the given identifier
-
Method Details
-
provide
Provide an instance based on the given identifier- 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.
-