StateViewCacheRegistrar

class StateViewCacheRegistrar : BeanDefinitionRegistryPostProcessor

Registers a StateViewCache<V> bean for each state view the peer contracts on the class path name (ContractViews), so a service injects StateViewCache<OrderStateView> with nothing declared: one lazy bean per view, typed by its generics, named wow.cocache.<context>.<aggregate>, which the service's StateViewCaches gives.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun postProcessBeanDefinitionRegistry(registry: BeanDefinitionRegistry)
Link copied to clipboard
open override fun postProcessBeanFactory(beanFactory: ConfigurableListableBeanFactory)