ParameterResolver

@InterfacedService(acceptMultiple = true)
sealed class ParameterResolver<T : ParameterResolver<T, R>, R : Any> : IParameterResolver<T> (source)

Base class for parameter resolvers, needs to be implemented alongside the interface of at least one interaction type:

Parameter resolvers for services exist by default, and follow the rules described in @BService.

You can also check loaded parameter resolvers in the logs on the trace level.

Usage

As this class is sealed, you need to extend ClassParameterResolver or TypedParameterResolver instead.

Parameters

T

Type of the implementation

R

Type of the returned resolved objects

See also

Inheritors