Package kalix.javasdk

Interface EntityContext

All Superinterfaces:
Context
All Known Subinterfaces:
CommandContext, CommandContext, CommandContext, EventContext, EventSourcedEntityContext, ReplicatedEntityContext, ValueEntityContext

public interface EntityContext extends Context
Root context for all contexts that pertain to entities, that is, things that are addressable via an entity id.
  • Method Summary

    Modifier and Type
    Method
    Description
    The id of the entity that this context is for.

    Methods inherited from interface kalix.javasdk.Context

    materializer
  • Method Details

    • entityId

      String entityId()
      The id of the entity that this context is for.
      Returns:
      The entity id.