Package guru.zoroark.tegral.di.environment.resolvers

Types

Link copied to clipboard
class AliasIdentifierResolver<T : Any>(actualIdentifier: Identifier<out T>) : IdentifierResolver<T>

A resolver that is aliased to another identifier. Not canonical.

Link copied to clipboard
abstract class CanonicalIdentifierResolver<T : Any> : IdentifierResolver<T>

A canonical resolver. A resolver is canonical if it contains the actual instance of a component. This is opposite to some other resolvers like aliases.

Link copied to clipboard
interface IdentifierResolver<T : Any>

A resolver is an object that helps resolve an identifier into an actual component.

Link copied to clipboard
class SimpleIdentifierResolver<T : Any>(instance: T) : CanonicalIdentifierResolver<T>

A simple resolver that maps to an object instance. This is a canonical resolver.