toothpick-runtime / toothpick.configuration

Package toothpick.configuration

Types

Configuration

open class Configuration : RuntimeCheckConfiguration, MultipleRootScopeCheckConfiguration

Strategy pattern that allows to change various behaviors of Toothpick. The default configuration is #forProduction(). A custom configuration can be created and used by toothpick, it is even possible to use a composition of the built-in configurations.

ConfigurationHolder

open class ConfigurationHolder

Holds the configuration that will be used across the library.

Exceptions

CyclicDependencyException

open class CyclicDependencyException : RuntimeException

IllegalBindingException

open class IllegalBindingException : IllegalStateException

Thrown when a binding is illegal.

MultipleRootException

open class MultipleRootException : RuntimeException