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