class ScopedFactoryBeanDecorator<T : Any> : ScopedFactoryBean<T>
Decorator for ScopedFactoryBeans to enhance their behaviour.
Parameters
Author
Christopher Frieler
ScopedFactoryBeanDecorator(delegate: ScopedFactoryBean<T>)
Decorator for ScopedFactoryBeans to enhance their behaviour. |
val beanType: KClass<T>
Returns the type of the bean produced by this ScopedFactoryBean. |
|
val scope: String
Returns the name of the scope, where the bean produced by this ScopedFactoryBean lives in. |
fun produceBean(dependencies: BeansProvider): T
Produces a new bean of type T. |
|
fun withPostProcessing(postProcessing: (T) -> T): ScopedFactoryBeanDecorator<T> |
fun <T : Any> ScopedFactoryBean<T>.decorate(): ScopedFactoryBeanDecorator<T> |