toothpick-runtime / toothpick.locators

Package toothpick.locators

Types

FactoryLocator

open class FactoryLocator

The locator retrieves a Factory for a given class. In case no generated factory for a given class, we throw a NoFactoryFoundException.

MemberInjectorLocator

open class MemberInjectorLocator

Locates the MemberInjector instances. If not MemberInjector is found, we simply return null. This is required to fully support polymorphism when injecting dependencies.

Exceptions

NoFactoryFoundException

open class NoFactoryFoundException : RuntimeException