Package-level declarations
Types
Configuration for an aggregate within a bounded context. Defines the aggregate's type, scopes, commands, events, and other metadata.
Interface for searching aggregates by different criteria. Provides a common contract for various aggregate search implementations.
Configuration for a bounded context, containing aggregates and their metadata. A bounded context represents a logical boundary within the domain model.
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.
Searcher that maps named aggregates to their corresponding aggregate types (classes). Allows lookup of aggregate classes by their named aggregate identifiers.
Interface for entities that have package scopes. Scopes define the packages that belong to this entity.
Comparator for sorting package scopes by depth (number of dots) and length. Used to prioritize more specific scopes over general ones.
Scope searcher for finding named bounded contexts by package scopes. Maps package name prefixes to their corresponding bounded contexts.
Scope searcher for finding named aggregates by package scopes. Maps package name prefixes to their corresponding named aggregates.
Searcher that maps aggregate types (classes) to their corresponding named aggregates. Allows lookup of named aggregates by their runtime class type.
Root metadata class containing all bounded context configurations. WowMetadata represents the complete configuration for all bounded contexts and their aggregates.
Properties
Functions
Finds the aggregate type class associated with this named aggregate.
Finds the named aggregate for the reified type T.
Finds the named aggregate associated with this class based on its package scope.
Finds the named bounded context associated with this class based on its package scope.
Finds the aggregate type class associated with this named aggregate, throwing an exception if not found.
Finds the named aggregate for the reified type T, throwing an exception if not found.
Finds the named aggregate associated with this class, throwing an exception if not found.
Finds the named bounded context associated with this class, throwing an exception if not found.
Converts WowMetadata to a NamedAggregateTypeSearcher. Creates the reverse mapping from named aggregates to their types using the type searcher.
Converts WowMetadata to a ScopeContextSearcher. Builds a mapping from package scopes to named bounded contexts.
Converts WowMetadata to a ScopeNamedAggregateSearcher. Builds a mapping from package scopes to named aggregates based on aggregate scopes, commands, and events.
Converts WowMetadata to a TypeNamedAggregateSearcher. Scans all contexts and aggregates in the metadata to build a mapping from aggregate classes to named aggregates. Skips aggregates whose types cannot be found at runtime.