StateDomainEventExchange

Exchange interface for domain events with state context.

This interface extends DomainEventExchange to provide access to the current state of an aggregate during event processing. It allows extracting state-related objects from the exchange context.

Type Parameters

S

The type of the aggregate state

T

The type of the domain event body

See also

Inheritors

Properties

Link copied to clipboard

The read-only state aggregate containing current state information.

Functions

Link copied to clipboard
open override fun <T : Any> extractDeclared(type: Class<T>): T?

Extracts an object of the specified type from the exchange context.