android-beans / rocks.frieler.android.beans / BeanPostProcessor

BeanPostProcessor

interface BeanPostProcessor

Interface to post-process beans.

Beans implementing this interface are applied automatically when registered at a BeanRegistry.

Author
Christopher Frieler

Functions

postProcessBean

abstract fun <T : Any> postProcessBean(name: String, bean: T): T

Allows to post-process beans of a BeanRegistry.

Inheritors

BeansOfTypeConsumer

class BeansOfTypeConsumer<Type : Any> : BeanPostProcessor

BeanPostProcessor to consume all beans of a certain type (including all its subtypes).