All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cloudstate.javasupport.eventsourced.EventSourcedEntityFactory Maven / Gradle / Ivy

There is a newer version: 0.6.0
Show newest version
package io.cloudstate.javasupport.eventsourced;

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

Generally, this should not be needed, instead, a class annotated with the {@link * EventHandler}, {@link CommandHandler} and similar annotations should be used. */ public interface EventSourcedEntityFactory { /** * Create an entity handler for the given context. * * @param context The context. * @return The handler for the given context. */ EventSourcedEntityHandler create(EventSourcedContext context); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy