Interface UseProvider
-
@ConsumerType public interface UseProvider
A
UseProvider
instantiates objects for the Use-API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProviderOutcome
provide(java.lang.String identifier, RenderContext renderContext, javax.script.Bindings arguments)
Provide an instance based on the given identifier
-
-
-
Method Detail
-
provide
ProviderOutcome provide(java.lang.String identifier, RenderContext renderContext, javax.script.Bindings arguments)
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.
-
-