abstract class BeanConfiguration
Abstract super-class to define beans for the context of an application by providing BeanDefinitions.
BeanConfigurations can be defined as an object or must provide a public constructor, which takes the android.content.Context or no arguments, to be instantiated.
Author
Christopher Frieler
BeanConfiguration()
Abstract super-class to define beans for the context of an application by providing BeanDefinitions. |
fun <T : Any> addBeanDefinition(beanDefinition: BeanDefinition<T>): Unit
Adds a BeanDefinition to this BeanConfiguration. |
|
open fun getBeanDefinitions(): List<BeanDefinition<*>>
Returns BeanDefinitions for the beans defined by this BeanConfiguration. |
abstract class DeclarativeBeanConfiguration : BeanConfiguration
Abstract super-class for BeanConfigurations to define their beans in a declarative fashion. |