Package-level declarations

Types

Link copied to clipboard
class CosIdAggregateIdGenerator(runtime: CosIdRuntime, val fallback: String = CosIdProperties().aggregateGenerator) : AggregateIdGenerator, AggregateIdGeneratorSource

The aggregate ids of CosId (as 9.x CosIdAggregateIdGeneratorFactory). Wow builds no generator: CosId's configuration decides which exist, and an aggregate type's generator is found by name, in this order:

Link copied to clipboard

wow-cosid's settings, wow.cosid.*: the one default of each key, and the class its configuration metadata comes from. The module imports no Spring Boot, so WowCosIdAutoConfiguration reads its key from Spring's Environment, falling back to the default here; the host knows the key from the metadata this module ships.

Link copied to clipboard
@Configuration(proxyBeanMethods = false)
class WowCosIdAutoConfiguration

Gives the Wow host CosId's aggregate id generators when the application runs CosId (it has CosId's CosIdRuntime bean, which CosId's starter starts from cosid.*). This module lists it in META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports; its ordering (after CosId's auto-configuration, before the host's WowAutoConfiguration) is in META-INF/spring-autoconfigure-metadata.properties, so that it imports no Spring Boot type.