Package com.dmasone.identity.sharedkernel.domain


package com.dmasone.identity.sharedkernel.domain
Shared domain abstractions used across modules.

This package is intentionally small: it contains stable concepts such as domain events, the event publisher port, and the base domain exception type. It must not contain application use cases, persistence concerns, web DTOs, or dependencies on business modules.

  • Class
    Description
    Marker contract for events that describe something already decided by a module.
    Base exception for business rule failures that should be translated into a structured API error response.
    Small publishing port used by application services to emit domain events without coupling those services to Spring's concrete event infrastructure.