Repository

    Repository 也负责在它的后端存储中持久化施加于 aggregate 的变更。

    • AbstractRepository
    • 自动发布新的 event 到给定的 EventBus 并将 event storage 代理给提供的 EventStore