package eventsourced

Type Members

  1. trait BehaviorContext extends EventSourcedContext

    Superinterface of all contexts that allow changing the current entities behavior behavior.

  2. trait CommandContext extends EventSourcedContext with ClientActionContext with EffectContext

    An event sourced command context.

    An event sourced command context.

    Methods annotated with CommandHandler may take this is a parameter. It allows emitting new events in response to a command, along with forwarding the result to other entities, and performing side effects on other entities.

  3. class CommandHandler extends Annotation with Annotation with ClassfileAnnotation
  4. trait EventBehaviorContext extends EventContext with BehaviorContext

    Event handler context that allows changing behavior.

    Event handler context that allows changing behavior. This can be passed to all EventHandler annotated methods.

  5. trait EventContext extends EventSourcedContext

    Context for an event.

  6. class EventHandler extends Annotation with Annotation with ClassfileAnnotation
  7. trait EventSourcedContext extends EntityContext

    Root context for all event sourcing contexts.

  8. class EventSourcedEntity extends Annotation with Annotation with ClassfileAnnotation
  9. trait EventSourcedEntityCreationContext extends EventSourcedContext with BehaviorContext

    Creation context for EventSourcedEntity annotated entities.

    Creation context for EventSourcedEntity annotated entities.

    This may be accepted as an argument to the constructor of an event sourced entity.

  10. trait EventSourcedEntityFactory extends AnyRef

    Low level interface for handling events and commands on an entity.

    Low level interface for handling events and commands on an entity.

    Generally, this should not be needed, instead, a class annotated with the EventHandler, CommandHandler and similar annotations should be used.

  11. trait EventSourcedEntityHandler extends AnyRef

    Low level interface for handling events and commands on an entity.

    Low level interface for handling events and commands on an entity.

    Generally, this should not be needed, instead, a class annotated with the EventHandler, CommandHandler and similar annotations should be used.

  12. class Snapshot extends Annotation with Annotation with ClassfileAnnotation
  13. trait SnapshotBehaviorContext extends SnapshotContext with BehaviorContext

    Snapshot context that allows changing behavior.

    Snapshot context that allows changing behavior.

    This may be passed to any SnapshotHandler annotated methods.

  14. trait SnapshotContext extends EventSourcedContext

    A snapshot context.

  15. class SnapshotHandler extends Annotation with Annotation with ClassfileAnnotation

Ungrouped