AliasIdentifierResolver
class AliasIdentifierResolver<T : Any>(actualIdentifier: Identifier<out T>) : IdentifierResolver<T>
Content copied to clipboard
A resolver that is aliased to another identifier. Not canonical.
Constructors
Link copied to clipboard
fun <T : Any> AliasIdentifierResolver(actualIdentifier: Identifier<out T>)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun resolve(requester: Any?, components: EnvironmentComponents): T
Content copied to clipboard
Resolve using the given components. The components may be used in case the resolver requires more complicated use cases.
Properties
Link copied to clipboard
The requirements for this resolver, i.e. the identifiers that this resolver needs from the components
argument of resolve. This information is used for dependency analysis to properly "link" components that are resolved against during resolution, such as with aliases.