Package akka.javasdk

Interface EntityContext

All Superinterfaces:
Context
All Known Subinterfaces:
EventContext, EventSourcedEntityContext, KeyValueEntityContext

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.
  • Method Details

    • entityId

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