MetadataSearcher

Central searcher for Wow metadata and aggregate configurations. Loads and caches metadata from classpath resources, providing various search capabilities for bounded contexts, aggregates, and their mappings.

Properties

Link copied to clipboard

Lazily loaded set of all local aggregates available at runtime.

Link copied to clipboard

Lazily loaded Wow metadata aggregated from all classpath resources. Merges metadata from multiple sources found at WOW_METADATA_RESOURCE_NAME.

Link copied to clipboard

Lazily loaded searcher for finding aggregate types by their named aggregates.

Link copied to clipboard

Lazily loaded searcher for finding bounded contexts by package scopes.

Link copied to clipboard

Lazily loaded searcher for finding named aggregates by package scopes.

Link copied to clipboard

Lazily loaded searcher for finding named aggregates by their type classes.

Functions

Link copied to clipboard
fun getAggregate(namedAggregate: NamedAggregate): Aggregate?

Retrieves the aggregate configuration for the given named aggregate.

Link copied to clipboard

Checks if the named aggregate is available locally at runtime.

Link copied to clipboard

Retrieves the aggregate configuration for the given named aggregate, throwing an exception if not found.